[env] CARGO_WORKSPACE_DIR = { value = "", relative = true } [alias] bump = "run --package swc-releaser -- bump" codegen = "run --package generate-code --" releaser = "run --package swc-releaser --" xtask = "run --package xtask --" [build] rustdocflags = ["--cfg", "docsrs"] rustflags = ["-Zshare-generics=y"] [target.x86_64-unknown-linux-gnu] rustflags = ["-C", "target-feature=+sse2", "-Zshare-generics=y"] [target.aarch64-unknown-linux-gnu] linker = "aarch64-linux-gnu-gcc" [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" rustflags = [ "-C", "target-feature=-crt-static", "-C", "link-arg=-lgcc", "-Zshare-generics=y", ] [target.armv7-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc" [target.x86_64-pc-windows-msvc] linker = "rust-lld" rustflags = ["-C", "target-feature=+crt-static", "-Zshare-generics=y"] [target.aarch64-pc-windows-msvc] linker = "rust-lld"