Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bun for openSUSE:Factory checked in at 2026-11-25 16:13:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bun (Old) and /work/SRC/openSUSE:Factory/.bun.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bun" Wed Nov 25 16:13:46 2026 rev:7 rq:1400494 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/bun/bun.changes 2026-11-21 21:47:01.334680616 +0100 +++ /work/SRC/openSUSE:Factory/.bun.new.1340718/bun.changes 2026-11-25 16:15:59.996134441 +0100 @@ -1,0 +2,7 @@ +Wed Nov 25 03:54:41 UTC 2026 - Khang Lê <[email protected]> + +- Build with Rust 1.100: refresh bun-vendor-1.4.5.tar.zst for + -Zbuild-std, raise the Rust floor, and add + bun-rust-allocator-ext.patch for allocator_ext APIs + +------------------------------------------------------------------- New: ---- bun-rust-allocator-ext.patch ----------(New B)---------- New: -Zbuild-std, raise the Rust floor, and add bun-rust-allocator-ext.patch for allocator_ext APIs ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bun.spec ++++++ --- /var/tmp/diff_new_pack.XME54i/_old 2026-11-25 16:16:03.965302728 +0100 +++ /var/tmp/diff_new_pack.XME54i/_new 2026-11-25 16:16:03.967302813 +0100 @@ -137,6 +137,8 @@ Patch5: bun-rust-type-info.patch # std::sync::Once has no Default implementation in the shipped Rust compiler. Patch6: bun-rust-once-default.patch +# PATCH-FIX-OPENSUSE bun-rust-allocator-ext.patch [email protected] -- use allocator_ext for Rust 1.100's remaining allocator APIs +Patch7: bun-rust-allocator-ext.patch BuildRequires: cargo # LLVM 23.1.x: upstream pins 23.1.1 (scripts/build/ci-images/spec.ts) and # scripts/build/tools.ts accepts the same major.minor, so the distribution's @@ -151,9 +153,6 @@ BuildRequires: lld23 BuildRequires: llvm23 BuildRequires: ninja -%ifarch x86_64 -BuildRequires: nasm -%endif # The build driver runs on Node, and 1.4.4 refuses anything below 25 # (scripts/build/configure.ts): the codegen scripts gate on import.meta.main, # and upstream set the floor at the release after the one that added it rather @@ -165,12 +164,9 @@ BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python3 -# Not a floor upstream states - upstream pins a nightly - but 1.4.4 needs it -# twice over: the build refuses a clang whose LLVM major differs from rustc's -# own (scripts/build/config.ts), and rust 1.99 is the first release whose -# bundled LLVM is 23, to go with the distribution's clang23. An older -# compiler fails deep in the workspace instead of here. -BuildRequires: rust >= 1.99 +# Not an upstream floor, but 1.4.5 needs Rust 1.100: LLVM 23 for clang23, +# and allocator_ext after allocator_api's partial stabilization (Patch7). +BuildRequires: rust >= 1.100 # 1.4.4 builds the standard library from source in every profile # (scripts/build/rust.ts), which needs the rust-src component. BuildRequires: rust-src @@ -228,6 +224,9 @@ # Upstream supports linux-x64 and linux-arm64 only, and Bun can only be built # where an upstream bootstrap binary is published for the same architecture. ExclusiveArch: x86_64 aarch64 +%ifarch x86_64 +BuildRequires: nasm +%endif %if %{with webkit_source} # JavaScriptCore's own build system. BuildRequires: ruby ++++++ bun-rust-allocator-ext.patch ++++++ --- a/src/sourcemap/lib.rs +++ b/src/sourcemap/lib.rs @@ -1,4 +1,3 @@ -#![feature(allocator_api)] #![warn(unused_must_use)] //! `bun_sourcemap` — source map parsing, encoding, and lookup. //! --- a/src/parsers/lib.rs +++ b/src/parsers/lib.rs @@ -1,5 +1,4 @@ #![warn(unused_must_use)] -#![feature(allocator_api)] pub mod error; pub use error::{Error, Result}; --- a/src/shell_parser/lib.rs +++ b/src/shell_parser/lib.rs @@ -1,4 +1,4 @@ -#![feature(adt_const_params, generic_const_exprs, allocator_api)] +#![feature(adt_const_params, generic_const_exprs)] #![warn(unused_must_use)] #![allow(incomplete_features)] --- a/src/css/lib.rs +++ b/src/css/lib.rs @@ -1,4 +1,3 @@ -#![feature(allocator_api)] #![warn(unused_must_use)] // Allow `use bun_css as css;` from inside the crate — the ported submodules // were translated against the crate's public surface and refer to it by name. --- a/src/collections/lib.rs +++ b/src/collections/lib.rs @@ -6,8 +6,7 @@ adt_const_params, unsized_const_params, const_cmp, - const_trait_impl, - allocator_api + const_trait_impl )] #![allow(incomplete_features, internal_features)] #![warn(unused_must_use)] --- a/src/bun_core/lib.rs +++ b/src/bun_core/lib.rs @@ -1,4 +1,3 @@ -#![feature(allocator_api)] #![feature(adt_const_params)] #![feature(thread_local)] // bare `__thread` slot for `thread_id::current()` cache #![feature(freeze)] // `impl_field_parent!`'s `shared` arm rejects `Freeze` children at compile time --- a/src/bun_alloc/lib.rs +++ b/src/bun_alloc/lib.rs @@ -3,7 +3,7 @@ // a dependency cycle. #![allow(clippy::disallowed_types)] #![feature(arbitrary_self_types_pointers)] -#![feature(allocator_api)] +#![feature(allocator_ext)] // `#[thread_local]` (vs the `thread_local!` macro) compiles to a bare // `__thread` slot — single `mov reg, fs:[OFFSET]` access, no `LocalKey` // `__getit()` wrapper, no lazy-init flag check, no dtor-registration probe. --- a/src/bundler/lib.rs +++ b/src/bundler/lib.rs @@ -1,5 +1,5 @@ #![feature(inherent_associated_types)] -#![feature(adt_const_params, allocator_api, thread_local)] +#![feature(adt_const_params, thread_local)] #![allow(incomplete_features)] // inherent_associated_types — used only for the ThreadPool::Worker path #![allow(non_snake_case, non_upper_case_globals)] #![warn(unused_must_use)] --- a/src/sema/lib.rs +++ b/src/sema/lib.rs @@ -4,7 +4,7 @@ //! (https://github.com/microsoft/typescript-go, Copyright Microsoft Corporation, Apache License 2.0). Comments cite the //! upstream function each piece of code corresponds to. -#![feature(allocator_api)] +#![feature(allocator_ext)] pub mod atom; pub mod bind; --- a/src/ast/lib.rs +++ b/src/ast/lib.rs @@ -1,4 +1,3 @@ -#![feature(allocator_api)] // `#[thread_local]` for the per-node-allocation hot-path TLS // (`DATA_STORE_OVERRIDE`, `Expr/Stmt::data::Store::{INSTANCE, // MEMORY_ALLOCATOR, DISABLE_RESET}`, `store_ast_alloc_heap::ARENA`): bare --- a/src/ptr/lib.rs +++ b/src/ptr/lib.rs @@ -1,4 +1,3 @@ -#![feature(allocator_api)] #![allow( non_snake_case, non_camel_case_types, --- a/src/react_compiler/lib.rs +++ b/src/react_compiler/lib.rs @@ -5,7 +5,7 @@ //! `react_compiler::entrypoint`) to read and write `bun_ast` directly, and //! depends on the vendored HIR-level crates unmodified. -#![feature(allocator_api)] +#![feature(allocator_ext)] pub mod collections; pub mod diagnostics; ++++++ bun-vendor-1.4.5.tar.zst ++++++ /work/SRC/openSUSE:Factory/bun/bun-vendor-1.4.5.tar.zst /work/SRC/openSUSE:Factory/.bun.new.1340718/bun-vendor-1.4.5.tar.zst differ: char 955634, line 4014
