fix(prototyper): use rustc_align attribute on function.
@@ -28,7 +28,7 @@ pub struct BootHart {
#[unsafe(naked)]
#[unsafe(link_section = ".fdt")]
-#[repr(align(16))]
+#[rustc_align(16)]
#[cfg(feature = "fdt")]
pub extern "C" fn raw_fdt() {
naked_asm!(concat!(".incbin \"", env!("PROTOTYPER_FDT_PATH"), "\""),)
@@ -8,7 +8,7 @@ use riscv::register::mtvec;
/// This function will change a0 and a1 and will NOT change them back.
// TODO: Support save trap info.
pub(crate) unsafe extern "C" fn light_expected_trap() {
naked_asm!(
"add a0, zero, zero",
@@ -39,7 +39,7 @@ impl Default for TrapInfo {
}
pub(crate) unsafe extern "C" fn expected_trap() {
"csrr a4, mepc",
@@ -1,4 +1,4 @@
[toolchain]
profile = "minimal"
-channel = "nightly"
+channel = "nightly-2025-08-01"
components = ["rustfmt", "clippy", "llvm-tools-preview", "rust-src"]