diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 7528b90d..816d11b2 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -36,6 +36,7 @@ jobs: - name: Install System packages run: | brew update + brew upgrade brew install gcc rustup component add rust-src --toolchain nightly-aarch64-apple-darwin - name: Clippy diff --git a/basm-std/src/platform/codegen.rs b/basm-std/src/platform/codegen.rs index c20b6708..4fa878fc 100644 --- a/basm-std/src/platform/codegen.rs +++ b/basm-std/src/platform/codegen.rs @@ -252,7 +252,7 @@ pub extern "C" fn _basm_start() { #[cfg(target_arch = "aarch64")] #[no_mangle] #[naked] -#[repr(align(8))] +//#[repr(align(8))] pub unsafe extern "C" fn _basm_start() -> ! { asm!( "sub sp, sp, #96", @@ -288,7 +288,7 @@ fn _start_rust(platform_data: usize) -> i32 { #[no_mangle] #[naked] -#[repr(align(4))] +//#[repr(align(4))] #[cfg(all(target_arch = "x86_64", target_os = "windows"))] pub unsafe extern "win64" fn __chkstk() -> ! { asm!(