Skip to content

Commit

Permalink
build: remove unused wasm profile
Browse files Browse the repository at this point in the history
Follow-up to #3432. Shutting this customization off, because it was
being ignored anyway, and generated a warnig:

    warning: profiles for the non root package will be ignored,
    specify profiles at the workspace root

We should discuss whether keeping the wasm crate inside the workspace is
the right move.
  • Loading branch information
conorsch committed Nov 29, 2023
1 parent 9d4d0de commit 7a82b53
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ web-sys = { version = "0.3.64", features = ["console"] }
wasm-bindgen-test = "0.3.37"
serde_json = "1.0.107"

[profile.release]
lto = true
# Profiles are ignored for crates within a workspace.
# In order to customize the profile for wasm, we must
# either break the crate out of the workspace, or set
# the profile options at the workspace level, affecting
# all crates.
# [profile.release]
# lto = true

0 comments on commit 7a82b53

Please sign in to comment.