Skip to content

Update to rustc 1.97.0-nightly#3

Merged
grahambates merged 1 commit into
grahambates:mainfrom
antekone:rust/2026
May 21, 2026
Merged

Update to rustc 1.97.0-nightly#3
grahambates merged 1 commit into
grahambates:mainfrom
antekone:rust/2026

Conversation

@antekone
Copy link
Copy Markdown
Contributor

After these changes, the build works, produces the out/a.exe HUNK.

The executable however hangs on my fs-uae A500, no idea why yet.

Comment thread src/main.rs
@@ -1,5 +1,5 @@
#![allow(static_mut_refs, dead_code)]
#![feature(asm_experimental_arch, naked_functions)]
#![feature(asm_experimental_arch)]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
 --> src/main.rs:2:35
  |
2 | #![feature(asm_experimental_arch, naked_functions)]
  |                                   ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default

Comment thread .cargo/config.toml

[unstable]
build-std = ["core"]
json-target-spec = true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread m68k-bare-metal.json
"target-family": ["unix"],
"target-mcount": "_mcount",
"target-pointer-width": "32",
"target-pointer-width": 32,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grahambates grahambates merged commit 2bff038 into grahambates:main May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants