Description: avoid not-in-Debian hashbrown feature nightly
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-08-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/crates/swc_allocator/Cargo.toml
+++ b/crates/swc_allocator/Cargo.toml
@@ -16,12 +16,6 @@
 
 [features]
 hashbrown = ["dep:hashbrown", "hashbrown/allocator-api2"]
-nightly = [
-  "skip-warning",
-  "allocator-api2/nightly",
-  "bumpalo/allocator_api",
-  "hashbrown/nightly",
-]
 # This two features are actually useless
 rkyv  = []
 serde = []
--- a/crates/swc_core/Cargo.toml
+++ b/crates/swc_core/Cargo.toml
@@ -38,8 +38,6 @@
 ## but changes internal logics to perform differently. These flag should be turned on in combination with
 ## actual features. Refer build.rs for more details.
 
-nightly = ["swc_allocator/nightly"]
-
 transform_common = ["dep:swc_transform_common"]
 
 # swc_ecma_loader/cache*
--- a/.cargo/config.toml
+++ /dev/null
@@ -1,51 +0,0 @@
-[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",
-  "-C",
-  "link-args=-Wl,-z,nodelete",
-]
-
-[target.aarch64-unknown-linux-gnu]
-linker    = "aarch64-linux-gnu-gcc"
-rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
-
-[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"
-rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
-
-[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"
-
-[target.wasm32-unknown-unknown]
-rustflags = ["-Zshare-generics=y", "--cfg", 'getrandom_backend="wasm_js"']
--- a/crates/swc_ts_fast_strip/Cargo.toml
+++ b/crates/swc_ts_fast_strip/Cargo.toml
@@ -12,7 +12,6 @@
 
 [features]
 default = []
-nightly = []
 
 [dependencies]
 anyhow       = { workspace = true }
