mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 07:03:50 +03:00
84cec8766d
**Description:** This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns. **Related issue:** - #4946.
36 lines
730 B
TOML
36 lines
730 B
TOML
[alias]
|
|
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"
|