From a30fb6fc7ef30bd2173282872c58b3e57ed63609 Mon Sep 17 00:00:00 2001 From: u <@> Date: Tue, 10 Mar 2026 16:57:42 +0200 Subject: hopefully this does something --- Cargo.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 02175be..6ece893 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,4 @@ +cargo-features = ["profile-rustflags"] [package] name = "ataxia-rs" version = "0.1.0" @@ -8,19 +9,21 @@ authors = ["user"] crate-type = ["cdylib"] [dependencies] -worker = { version = "0.7" } -worker-macros = { version = "0.7" } +worker = { version = "0.7", default-features = false } +# worker-macros = { version = "0.7" } maud = { version = "0.27.0" } num = { version = "0.4.3", default-features = false } regex = "1.12.3" +#[target.'cfg(target_family="wasm")'] # why doesnt this work + [profile.release] lto = true strip = true codegen-units = 1 +rustflags = ["-Cllvm-args=--mattr=+bulk-memory-opt,+simd128,+relaxed-simd,+tail-call,+extended-const"] overflow-checks = false - - +opt-level = 3 [profile.dev] +rustflags = ["-Cllvm-args=--mattr=+bulk-memory-opt,+simd128,+relaxed-simd,+tail-call,+extended-const"] overflow-checks = false - -- cgit v1.2.3