swc/.cargo/config.toml
Donny/강동윤 6afa40b7b4
chore(ci): Integrate changeset (#9284)
**Description:**

@swc-bot works, but as it works by creating a commit after merging each PR, it makes reading commit log harder and it causes problems with caching in CI.

Changeset itself does not support managing Rust crates, but there's a crate for this purpose.
2024-07-19 18:44:43 +09:00

42 lines
929 B
TOML

[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"