Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ target = "m68k-bare-metal.json"

[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.

2 changes: 1 addition & 1 deletion m68k-bare-metal.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"target-endian": "big",
"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.

"pre-link-args": {
"gcc": [
"-g",
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -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

#![no_std]
#![no_main]

Expand Down