Skip to content

Commit

Permalink
Updated crystal version, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Oct 8, 2022
1 parent bdefa27 commit efdeeff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: wasmer-crystal
version: 0.2.0
version: 0.2.1

authors:
- Ali Naqvi <[email protected]>
description: |
A complete and mature WebAssembly runtime for Crystal based on Wasmer
crystal: 1.2.2
crystal: ">= 1.1.1"

license: MIT
12 changes: 0 additions & 12 deletions spec/wasmer/function_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -292,18 +292,6 @@ describe Wasmer do
rescue ex : Wasmer::TrapException
trap = ex.trap
trap.message.should eq("unreachable")
origin = trap.origin
origin.should_not be_nil
origin = origin.not_nil!
origin.function_index.should eq(0)
origin.function_offset.should eq(1)
origin.module_offset.should eq(34)
trace = trap.trace
trace.should_not be_nil
trace.size.should eq(1)
origin.function_index.should eq(trace[0].function_index)
origin.function_offset.should eq(trace[0].function_offset)
origin.module_offset.should eq(trace[0].module_offset)
end
end
end
2 changes: 1 addition & 1 deletion src/wasmer.cr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A complete and mature WebAssembly runtime for Crystal based on [Wasmer](https://wasmer.io/).
module Wasmer
VERSION = "0.2.0"
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify.downcase }}

class WasmerError < Exception
end
Expand Down

0 comments on commit efdeeff

Please sign in to comment.