Skip to content

Commit

Permalink
try smaller builds maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Oct 31, 2024
1 parent 839cb20 commit 9635d9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.nothreads.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ linker = "aarch64-linux-android23-clang"
[target.x86_64-linux-android]
linker = "x86_64-linux-android23-clang"
[target.i686-linux-android]
linker = "i686-linux-android23-clang"
linker = "i686-linux-android23-clang"
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ rustflags = [
"link-args=-pthread",
"-C",
"target-feature=+atomics,+bulk-memory,+mutable-globals",
#"-Clink-args=-sEXPORT_ALL=1",
#"-Clink-arg=-fwasm-exceptions",
"-Clink-args=-sEXPORT_ALL=1",
"-Clink-arg=-fwasm-exceptions",
"-C",
"link-args=-sSUPPORT_LONGJMP=wasm",
"-Cllvm-args=-enable-emscripten-cxx-exceptions=0",
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ parry3d = {git = "https://github.com/ughuuu/parry", branch = "custom-changes"}
parry3d-f64 = {git = "https://github.com/ughuuu/parry", branch = "custom-changes"}

[profile.release]
opt-level = 3
debug = 2
#opt-level = 3
opt-level = "z"
#debug = 2
strip = "debuginfo"
lto = "fat"
codegen-units = 1

[target.wasm32-unknown-emscripten.profile.release]
opt-level = "z"
debug = 0
lto = "thin"
strip = "symbols"
codegen-units = 1
Expand Down

0 comments on commit 9635d9b

Please sign in to comment.