Correct path.
This commit is contained in:
parent
a11bd1cfdb
commit
990596fa28
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ pub unsafe fn compare_bytes(a: *const u8, b: *const u8, n: usize) -> i32 {
|
|||
pub unsafe fn c_string_length(s: *const std::ffi::c_char) -> usize {
|
||||
let mut n: usize;
|
||||
|
||||
std::arch::asm!(
|
||||
asm!(
|
||||
// search for a zero byte
|
||||
"xor al, al",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue