diff --git a/.cargo/config.nothreads.toml b/.cargo/config.nothreads.toml index 7a4d27d8..4b731dee 100644 --- a/.cargo/config.nothreads.toml +++ b/.cargo/config.nothreads.toml @@ -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" \ No newline at end of file +linker = "i686-linux-android23-clang" diff --git a/.cargo/config.toml b/.cargo/config.toml index ca60b175..ced4b055 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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", diff --git a/Cargo.toml b/Cargo.toml index e1565a9d..368cc23c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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