Skip to content

Commit a2410b0

Browse files
committed
Fix Cargo workspace warnings
Set resolver = "3" in the workspace root to match edition 2024, and remove the ignored [profile.release] from relay-compiler-playground since per-crate profiles are not supported in workspace members.
1 parent 6af2d44 commit a2410b0

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

compiler/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "3"
23
members = [
34
"crates/common",
45
"crates/dependency-analyzer",

compiler/crates/relay-compiler-playground/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,5 @@ wee_alloc = { version = "0.4.5", optional = true }
4444
[dev-dependencies]
4545
wasm-bindgen-test = "0.3.13"
4646

47-
[profile.release]
48-
# Tell `rustc` to optimize for small code size.
49-
opt-level = "s"
50-
5147
[package.metadata.wasm-pack.profile.release]
5248
wasm-opt = ["-Oz", "--enable-mutable-globals"]

0 commit comments

Comments
 (0)