Skip to content

no_std_test: call core::process::crash, the new name of abort_immediate - #1210

Merged
schungx merged 1 commit into
rhaiscript:mainfrom
yuvalrakavy:no-std-abort-immediate
Nov 7, 2026
Merged

schungx merged 1 commit into
rhaiscript:mainfrom
yuvalrakavy:no-std-abort-immediate

Conversation

@yuvalrakavy

Copy link
Copy Markdown
Contributor

NoStdBuild has been failing on main since 2026-11-02, on every PR as well:

error[E0425]: cannot find function `abort_immediate` in module `core::process`

rust-lang/rust#164730 renamed core::process::abort_immediate to crash, and CI always builds this crate on the current nightly. This changes the three calls in no_std/no_std_test/src/main.rs. The feature gate is still called abort_immediate, so that line stays.

Checked locally with nightly-2026-11-06: the unix and macos profiles fail on main and build with this change. I did not build the windows profile. A nightly from before the rename will no longer build this crate.

🤖 Generated with Claude Code

@schungx
schungx merged commit 79a2dcf into rhaiscript:main Nov 7, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants