Skip to content

Commit a3a5442

Browse files
authored
Fix target_arch for x86_64
1 parent 5e222e6 commit a3a5442

File tree

1 file changed

+1
-1
lines changed
  • ch01/a-assembly-dereference/src

1 file changed

+1
-1
lines changed

ch01/a-assembly-dereference/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
println!("{}", x);
2121
}
2222

23-
#[cfg(target_arch = "x86-64")]
23+
#[cfg(target_arch = "x86_64")]
2424
fn dereference(ptr: *const usize) -> usize {
2525
let mut res: usize;
2626
unsafe {

0 commit comments

Comments
 (0)