Skip to content

Commit

Permalink
cargo fmt && filename update
Browse files Browse the repository at this point in the history
  • Loading branch information
LaoLittle authored and Xudong-Huang committed Oct 3, 2023
1 parent 5d54bdd commit 4300d3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.file "asm_x86_64_ms_pe.S"
.file "asm_x86_64_sysv_pe.S"
.text
.p2align 4,,15
.globl prefetch_asm
Expand Down
1 change: 0 additions & 1 deletion src/detail/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pub mod asm;

mod gen;


pub use self::asm::{gen_init, initialize_call_frame, prefetch, swap_registers, InitFn, Registers};

#[inline]
Expand Down
2 changes: 1 addition & 1 deletion src/detail/x86_64_windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub extern "sysv64" fn gen_init(a1: usize, a2: *mut usize) -> ! {
super::gen::gen_init_impl(a1, a2)
}

std::arch::global_asm!(include_str!("asm/asm_x86_64_ms_pe.S"));
std::arch::global_asm!(include_str!("asm/asm_x86_64_sysv_pe.S"));

// #[cfg(not(nightly))]
//#[link(name = "asm", kind = "static")]
Expand Down

0 comments on commit 4300d3e

Please sign in to comment.