From ad8a7ee19c1a3d6577525fe7bea44d02802dde4d Mon Sep 17 00:00:00 2001 From: Grzegorz Antoniak Date: Thu, 21 May 2026 19:37:30 +0200 Subject: [PATCH] update to rust 1.97.0-nightly --- .cargo/config.toml | 1 + m68k-bare-metal.json | 2 +- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4e037f3..d7e785f 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,3 +5,4 @@ target = "m68k-bare-metal.json" [unstable] build-std = ["core"] +json-target-spec = true diff --git a/m68k-bare-metal.json b/m68k-bare-metal.json index 1e36f41..78dc569 100644 --- a/m68k-bare-metal.json +++ b/m68k-bare-metal.json @@ -33,7 +33,7 @@ "target-endian": "big", "target-family": ["unix"], "target-mcount": "_mcount", - "target-pointer-width": "32", + "target-pointer-width": 32, "pre-link-args": { "gcc": [ "-g", diff --git a/src/main.rs b/src/main.rs index 67bfba8..cb22f7b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ #![allow(static_mut_refs, dead_code)] -#![feature(asm_experimental_arch, naked_functions)] +#![feature(asm_experimental_arch)] #![no_std] #![no_main]