Skip to content

Commit

Permalink
Move WASM tests build profile into their own Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlixANNERAUD committed Jul 12, 2024
1 parent 49fe43d commit 205c7c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
10 changes: 0 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ embassy = [
[dependencies]
Virtual_machine = { path = "Modules/Virtual_machine" }

[profile.release.package.File_system_bindings_WASM_test]
# lto = true
opt-level = 's'
strip = true

[profile.release.package.Virtual_machine_WASM_test]
# lto = true
opt-level = 's'
strip = true

[target.'cfg( target_os = "espidf" )'.dependencies]
esp-idf-sys = { version = "0.34.1", features = ["binstart"] }
esp-idf-hal = "0.43.1"
Expand Down
4 changes: 3 additions & 1 deletion Modules/Bindings/Tests/WASM_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name = "File_system_bindings_WASM_test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 's'
strip = true

[dependencies]
Binding_tool = { path = "../../../../../Binding_tool", features = ["WASM"] }
6 changes: 4 additions & 2 deletions Modules/Virtual_machine/Tests/WASM_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name = "Virtual_machine_WASM_test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 's'
strip = true

[dependencies]
[dependencies]

0 comments on commit 205c7c6

Please sign in to comment.