Skip to content

Commit

Permalink
Revert "chore: Update swc (#40983)"
Browse files Browse the repository at this point in the history
This reverts commit 3d4dde8.
  • Loading branch information
ijjk committed Sep 29, 2022
1 parent 3d4dde8 commit f913e6e
Show file tree
Hide file tree
Showing 15 changed files with 378 additions and 360 deletions.
40 changes: 40 additions & 0 deletions packages/next-swc/.cargo/config.toml
@@ -1,8 +1,24 @@

[build]

rustdocflags = []
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.aarch64-apple-darwin]
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
Expand All @@ -11,7 +27,31 @@ rustflags = [
"target-feature=-crt-static",
"-C",
"link-arg=-lgcc",
"-Z",
"new-llvm-pass-manager=no",
]

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.aarch64-linux-android]
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.aarch64-pc-windows-msvc]
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

[target.wasm32-unknown-unknown]
rustflags = [
"-Z",
"new-llvm-pass-manager=no",
]

0 comments on commit f913e6e

Please sign in to comment.