diff --git a/.changeset/curly-shirts-remember.md b/.changeset/curly-shirts-remember.md deleted file mode 100644 index 6eafe6ace71b..000000000000 --- a/.changeset/curly-shirts-remember.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_malloc: patch ---- - -fix(swc_malloc): Fix build issue due to malloc, really diff --git a/CHANGELOG-CORE.md b/CHANGELOG-CORE.md index e489dbb5bcdd..810346418a62 100644 --- a/CHANGELOG-CORE.md +++ b/CHANGELOG-CORE.md @@ -1,4 +1,12 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(swc_malloc)** Fix build issue due to malloc, really ([#10117](https://github.com/swc-project/swc/issues/10117)) ([207a13f](https://github.com/swc-project/swc/commit/207a13f2ddc12503174a71c5cf0fc65fdf96c906)) + ## [swc_core@v16.2.0] - 2025-02-27 ### Bug Fixes @@ -1595,9 +1603,6 @@ -- **(allocator)** Implement `SwcAlloc` ([#9232](https://github.com/swc-project/swc/issues/9232)) ([e343eb6](https://github.com/swc-project/swc/commit/e343eb6de2747086f9873c6444964500e40b4936)) - - - **(allocator)** Add a cargo feature ([#9239](https://github.com/swc-project/swc/issues/9239)) ([398dc21](https://github.com/swc-project/swc/commit/398dc21e073d8271fa7ac4169b93ed8b96645459)) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64f86cdfc6fe..be7070b78341 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ - **(es/resolver)** Analyze variable declarations with `declare` ([#10102](https://github.com/swc-project/swc/issues/10102)) ([cff6a64](https://github.com/swc-project/swc/commit/cff6a64a18af26c73afd3b42cffea3c7300b369b)) +- **(swc_malloc)** Fix build issue due to malloc, really ([#10117](https://github.com/swc-project/swc/issues/10117)) ([207a13f](https://github.com/swc-project/swc/commit/207a13f2ddc12503174a71c5cf0fc65fdf96c906)) + + - Use `jemalloc` on platforms that `mimalloc` fails to build ([#10116](https://github.com/swc-project/swc/issues/10116)) ([fb75b98](https://github.com/swc-project/swc/commit/fb75b9827902d2ac5481357c965e2bc20075fd2e)) ### Miscellaneous Tasks @@ -1713,9 +1716,6 @@ -- **(allocator)** Implement `SwcAlloc` ([#9232](https://github.com/swc-project/swc/issues/9232)) ([e343eb6](https://github.com/swc-project/swc/commit/e343eb6de2747086f9873c6444964500e40b4936)) - - - **(allocator)** Add a cargo feature ([#9239](https://github.com/swc-project/swc/issues/9239)) ([398dc21](https://github.com/swc-project/swc/commit/398dc21e073d8271fa7ac4169b93ed8b96645459)) diff --git a/Cargo.lock b/Cargo.lock index 4ba0d5a11d2c..9f0a2ebf945f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4774,7 +4774,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "16.2.0" +version = "16.2.1" dependencies = [ "anyhow", "binding_macros", @@ -6095,7 +6095,7 @@ dependencies = [ [[package]] name = "swc_malloc" -version = "1.2.0" +version = "1.2.1" dependencies = [ "mimalloc", "tikv-jemallocator", diff --git a/crates/hstr/Cargo.toml b/crates/hstr/Cargo.toml index 734c53fe22e1..2069c6a8019b 100644 --- a/crates/hstr/Cargo.toml +++ b/crates/hstr/Cargo.toml @@ -39,7 +39,7 @@ smartstring = { workspace = true } smol_str = { workspace = true } string_cache = { workspace = true } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } [[bench]] harness = false diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 942214f6af7a..ffc7fda55db9 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -141,7 +141,7 @@ swc_ecma_lints = { version = "11.0.0", path = "../swc_ecma_lints", features = [ "non_critical_lints", ] } swc_ecma_testing = { version = "8.0.0", path = "../swc_ecma_testing" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[example]] diff --git a/crates/swc_allocator/Cargo.toml b/crates/swc_allocator/Cargo.toml index e4509a3f8585..80556feb077d 100644 --- a/crates/swc_allocator/Cargo.toml +++ b/crates/swc_allocator/Cargo.toml @@ -44,7 +44,7 @@ triomphe = { workspace = true } codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } [[bench]] diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 7ec3cdfd417f..318f62133c9b 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -70,5 +70,5 @@ swc_ecma_minifier = { version = "12.0.1", path = "../swc_ecma_minifier", feature swc_ecma_transforms_proposal = { version = "11.0.1", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { version = "12.0.0", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_typescript = { version = "12.0.0", path = "../swc_ecma_transforms_typescript" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index e83de43ee644..cef89b2ca299 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "16.2.0", features = [ +swc_core = { version = "16.2.1", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 02f80d6f4ff3..5332fc073413 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = { workspace = true } license = { workspace = true } name = "swc_core" repository = { workspace = true } -version = "16.2.0" +version = "16.2.1" [package.metadata.docs.rs] features = [ "allocator_node", @@ -371,7 +371,7 @@ swc_ecma_transforms_typescript = { optional = true, version = "12.0.0", path = swc_ecma_usage_analyzer = { optional = true, version = "12.0.0", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { optional = true, version = "11.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "8.0.0", path = "../swc_ecma_visit" } -swc_malloc = { optional = true, version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { optional = true, version = "1.2.1", path = "../swc_malloc" } swc_node_bundler = { optional = true, version = "16.0.0", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "1.0.0", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "1.0.0", path = "../swc_plugin" } diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index 076b02a6d47c..ee728e27ccf1 100644 --- a/crates/swc_css_minifier/Cargo.toml +++ b/crates/swc_css_minifier/Cargo.toml @@ -28,5 +28,5 @@ criterion = { workspace = true } swc_css_codegen = { version = "8.0.0", path = "../swc_css_codegen" } swc_css_parser = { version = "8.0.0", path = "../swc_css_parser" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml index e70cf8d1fbd3..9056b5deda46 100644 --- a/crates/swc_css_parser/Cargo.toml +++ b/crates/swc_css_parser/Cargo.toml @@ -32,7 +32,7 @@ swc_css_ast = { version = "8.0.0", path = "../swc_css_ast", features = [ "serde-impl", ] } swc_css_visit = { version = "8.0.0", path = "../swc_css_visit" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 05e19bd67e1d..635112d1bed3 100644 --- a/crates/swc_ecma_codegen/Cargo.toml +++ b/crates/swc_ecma_codegen/Cargo.toml @@ -48,7 +48,7 @@ swc_common = { version = "8.0.0", path = "../swc_common", features = [ ] } swc_ecma_parser = { version = "10.0.0", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "8.0.0", path = "../swc_ecma_testing" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 3376197fe953..cd27c03ea759 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -41,7 +41,7 @@ swc_ecma_codegen = { version = "8.0.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "10.0.0", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "8.0.0", path = "../swc_ecma_testing" } swc_ecma_transforms_base = { version = "11.1.1", path = "../swc_ecma_transforms_base" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } walkdir = { workspace = true } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index d55ae7e278f4..4a2c884a7f8d 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -81,7 +81,7 @@ walkdir = { workspace = true } codspeed-criterion-compat = { workspace = true } swc_allocator = { version = "4.0.0", path = "../swc_allocator" } swc_ecma_testing = { version = "8.0.0", path = "../swc_ecma_testing" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index 7c70c9263370..f9252462f1bf 100644 --- a/crates/swc_ecma_parser/Cargo.toml +++ b/crates/swc_ecma_parser/Cargo.toml @@ -56,7 +56,7 @@ swc_ecma_ast = { version = "8.0.0", path = "../swc_ecma_ast", features = [ "serde-impl", ] } swc_ecma_visit = { version = "8.0.0", path = "../swc_ecma_visit" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[example]] diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index a90f6afe2ed0..bad99195c563 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -43,7 +43,7 @@ rayon = { workspace = true } swc_ecma_codegen = { version = "8.0.1", path = "../swc_ecma_codegen" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index ffdcdba800c9..2ceb1f5f82c5 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -58,7 +58,7 @@ swc_html_visit = { version = "8.0.0", path = "../swc_html_visit" } codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index cb36041e1de5..d9d1c4fe8f33 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -36,7 +36,7 @@ swc_html_ast = { version = "8.0.0", path = "../swc_html_ast", features = [ "serde-impl", ] } swc_html_visit = { version = "8.0.0", path = "../swc_html_visit" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_malloc/Cargo.toml b/crates/swc_malloc/Cargo.toml index 0851bdb8cb35..f3231b06ceec 100644 --- a/crates/swc_malloc/Cargo.toml +++ b/crates/swc_malloc/Cargo.toml @@ -6,7 +6,7 @@ edition = { workspace = true } license = { workspace = true } name = "swc_malloc" repository = { workspace = true } -version = "1.2.0" +version = "1.2.1" [lib] bench = false diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index c0b68e6b6254..ca61fb3bb57a 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -45,7 +45,7 @@ swc_ecma_parser = { version = "10.0.0", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "14.0.0", path = "../swc_ecma_transforms" } swc_ecma_utils = { version = "11.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "8.0.0", path = "../swc_ecma_visit" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } [dev-dependencies] pretty_assertions = { workspace = true } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index c888fddfcf67..63bf6dfb1135 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -90,7 +90,7 @@ swc_ecma_ast = { version = "8.0.0", path = "../swc_ecma_ast", features = [ swc_ecma_loader = { version = "8.0.0", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "10.0.0", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "8.0.0", path = "../swc_ecma_visit" } -swc_malloc = { version = "1.2.0", path = "../swc_malloc" } +swc_malloc = { version = "1.2.1", path = "../swc_malloc" } testing = { version = "8.0.0", path = "../testing" } tokio = { workspace = true, features = ["rt"] }