Skip to content

Commit

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

[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 @@ -27,31 +11,7 @@ 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 6a25d74

Please sign in to comment.