Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ generated
package-lock.json
.wrangler
node_modules
.env
test/tests/signal_wasm/signal.wasm
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 9 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
exclude = [
"examples/coredump",
"examples/axum",
"examples/signal",
"templates/*",
"wasm-bindgen",
"generated",
Expand All @@ -27,21 +28,21 @@ chrono = { version = "0.4.41", default-features = false, features = [
futures-channel = "0.3.31"
futures-util = { version = "0.3.31", default-features = false }
http = "1.3"
js-sys = { version = "0.3.90" }
js-sys = { version = "0.3.91" }
serde = { version = "1.0.164", features = ["derive"] }
serde_json = "1.0.140"
serde-wasm-bindgen = "0.6.5"
syn = "2.0.17"
proc-macro2 = "1.0.60"
quote = "1.0.28"
wasm-bindgen = { version = "0.2.113" }
wasm-bindgen-cli-support = { version = "0.2.113" }
wasm-bindgen-futures = { version = "0.4.63" }
wasm-bindgen-macro-support = { version = "0.2.113" }
wasm-bindgen-shared = { version = "0.2.113" }
wasm-bindgen-test = { version = "0.3.63" }
wasm-bindgen = { version = "0.2.114" }
wasm-bindgen-cli-support = { version = "0.2.114" }
wasm-bindgen-futures = { version = "0.4.64" }
wasm-bindgen-macro-support = { version = "0.2.114" }
wasm-bindgen-shared = { version = "0.2.114" }
wasm-bindgen-test = { version = "0.3.64" }
wasm-streams = { version = "0.5.0" }
web-sys = { version = "0.3.90", features = [
web-sys = { version = "0.3.91", features = [
"AbortController",
"AbortSignal",
"BinaryType",
Expand Down Expand Up @@ -100,14 +101,3 @@ lto = true
codegen-units = 1
opt-level = "z"

# These are local patches we use to test against local wasm bindgen
# We always align on the exact stable wasm bindgen version for releases
[patch.crates-io]
js-sys = { version = "0.3.90", path = './wasm-bindgen/crates/js-sys' }
wasm-bindgen = { version = "0.2.113", path = './wasm-bindgen' }
wasm-bindgen-cli-support = { version = "0.2.113", path = "./wasm-bindgen/crates/cli-support" }
wasm-bindgen-futures = { version = "0.4.63", path = './wasm-bindgen/crates/futures' }
wasm-bindgen-macro-support = { version = "0.2.113", path = "./wasm-bindgen/crates/macro-support" }
wasm-bindgen-shared = { version = "0.2.113", path = "./wasm-bindgen/crates/shared" }
wasm-bindgen-test = { version = "0.3.63", path = "./wasm-bindgen/crates/test" }
web-sys = { version = "0.3.90", path = './wasm-bindgen/crates/web-sys' }
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"bench": "node --run build && node run.js"
},
"dependencies": {
"miniflare": "^4.20260302.0"
"miniflare": "^4.20260305.0"
}
}
6 changes: 3 additions & 3 deletions chompfile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ run = 'cargo test -p worker --target wasm32-unknown-unknown'

[[task]]
name = 'test'
dep = 'build'
deps = ['build']
cwd = 'test'
env.NO_MINIFY = '1'
env.WASM_BINDGEN_BIN = '../wasm-bindgen/target/debug/wasm-bindgen'
Expand All @@ -50,7 +50,7 @@ npx vitest run --testTimeout 25000

[[task]]
name = 'test-http'
dep = 'build'
deps = ['build']
cwd = 'test'
env.NO_MINIFY = '1'
env.WASM_BINDGEN_BIN = '../wasm-bindgen/target/debug/wasm-bindgen'
Expand All @@ -61,7 +61,7 @@ npx vitest run --testTimeout 25000

[[task]]
name = 'test-panic-unwind'
dep = 'build'
deps = ['build']
cwd = 'test'
env.NO_MINIFY = '1'
env.WASM_BINDGEN_BIN = '../wasm-bindgen/target/debug/wasm-bindgen'
Expand Down
5 changes: 5 additions & 0 deletions examples/signal/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[unstable]
build-std = ["std", "panic_unwind"]

[target.wasm32-unknown-unknown]
rustflags = ["-C", "panic=unwind"]
3 changes: 3 additions & 0 deletions examples/signal/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target
node_modules
.wrangler
Loading
Loading