2024-07-19 12:44:43 +03:00
|
|
|
[env]
|
|
|
|
CARGO_WORKSPACE_DIR = { value = "", relative = true }
|
|
|
|
|
2023-10-05 11:34:51 +03:00
|
|
|
[alias]
|
2024-07-19 12:44:43 +03:00
|
|
|
bump = "run --package swc-releaser -- bump"
|
|
|
|
codegen = "run --package generate-code --"
|
|
|
|
releaser = "run --package swc-releaser --"
|
|
|
|
xtask = "run --package xtask --"
|
2021-07-29 08:18:21 +03:00
|
|
|
|
|
|
|
[build]
|
|
|
|
|
2022-03-16 12:58:24 +03:00
|
|
|
rustdocflags = ["--cfg", "docsrs"]
|
2023-10-08 03:39:51 +03:00
|
|
|
rustflags = ["-Zshare-generics=y"]
|
2021-07-29 08:18:21 +03:00
|
|
|
|
2022-10-15 08:18:19 +03:00
|
|
|
[target.x86_64-unknown-linux-gnu]
|
2023-10-08 03:39:51 +03:00
|
|
|
rustflags = ["-C", "target-feature=+sse2", "-Zshare-generics=y"]
|
2021-07-29 08:18:21 +03:00
|
|
|
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
2023-10-08 03:39:51 +03:00
|
|
|
linker = "aarch64-linux-gnu-gcc"
|
2021-11-30 02:34:20 +03:00
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
[target.aarch64-unknown-linux-musl]
|
2023-06-02 18:35:09 +03:00
|
|
|
linker = "aarch64-linux-musl-gcc"
|
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=-crt-static",
|
|
|
|
"-C",
|
|
|
|
"link-arg=-lgcc",
|
2023-10-08 03:39:51 +03:00
|
|
|
"-Zshare-generics=y",
|
2023-06-02 18:35:09 +03:00
|
|
|
]
|
2021-07-29 08:18:21 +03:00
|
|
|
|
|
|
|
[target.armv7-unknown-linux-gnueabihf]
|
2023-10-08 03:39:51 +03:00
|
|
|
linker = "arm-linux-gnueabihf-gcc"
|
2021-07-29 08:18:21 +03:00
|
|
|
|
|
|
|
|
2022-02-22 22:16:45 +03:00
|
|
|
[target.x86_64-pc-windows-msvc]
|
2023-10-05 11:34:51 +03:00
|
|
|
linker = "rust-lld"
|
2023-10-08 03:39:51 +03:00
|
|
|
rustflags = ["-C", "target-feature=+crt-static", "-Zshare-generics=y"]
|
2023-09-18 17:02:55 +03:00
|
|
|
|
2022-02-22 22:16:45 +03:00
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
[target.aarch64-pc-windows-msvc]
|
2023-10-08 03:39:51 +03:00
|
|
|
linker = "rust-lld"
|