[ruby-core:122787] [Ruby Bug#21514] Rust deprecation warning building ruby-3.4.5/yjit/src/codegen.rs

Issue #21514 has been reported by debo (David Bohman). ---------------------------------------- Bug #21514: Rust deprecation warning building ruby-3.4.5/yjit/src/codegen.rs https://bugs.ruby-lang.org/issues/21514 * Author: debo (David Bohman) * Status: Open * ruby -v: ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-darwin16] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- I get the following warning when building `ruby-3.4.5` from the tarball release. I am using `rustc-1.88.0`. ``` warning: `extern` declarations without an explicit ABI are deprecated --> ../ruby-3.4.5/yjit/src/codegen.rs:7406:1 | 7406 | extern { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default ``` -- https://bugs.ruby-lang.org/

Issue #21514 has been updated by alanwu (Alan Wu). Status changed from Open to Closed Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED Fixed on `master` by commit:7e733ca55168e3b1f10b685f6e9a52cf1deb5aff Backport: https://github.com/ruby/ruby/pull/13931 ---------------------------------------- Bug #21514: Rust deprecation warning building ruby-3.4.5/yjit/src/codegen.rs https://bugs.ruby-lang.org/issues/21514#change-114090 * Author: debo (David Bohman) * Status: Closed * ruby -v: ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-darwin16] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED ---------------------------------------- I get the following warning when building `ruby-3.4.5` from the tarball release. I am using `rustc-1.88.0`. ``` warning: `extern` declarations without an explicit ABI are deprecated --> ../ruby-3.4.5/yjit/src/codegen.rs:7406:1 | 7406 | extern { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default ``` -- https://bugs.ruby-lang.org/

Issue #21514 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED to 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: DONE ruby_3_4 commit:d713896f19517ab688b13174e6346a87fd9e01ee. ---------------------------------------- Bug #21514: Rust deprecation warning building ruby-3.4.5/yjit/src/codegen.rs https://bugs.ruby-lang.org/issues/21514#change-114122 * Author: debo (David Bohman) * Status: Closed * ruby -v: ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-darwin16] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: DONE ---------------------------------------- I get the following warning when building `ruby-3.4.5` from the tarball release. I am using `rustc-1.88.0`. ``` warning: `extern` declarations without an explicit ABI are deprecated --> ../ruby-3.4.5/yjit/src/codegen.rs:7406:1 | 7406 | extern { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default ``` -- https://bugs.ruby-lang.org/
participants (3)
-
alanwu (Alan Wu)
-
debo (David Bohman)
-
k0kubun (Takashi Kokubun)