Skip to content

Commit

Permalink
Use u{1} instead of 01
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Mar 31, 2019
1 parent aec518a commit 7b26a43
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/librustc_target/spec/aarch64_unknown_linux_gnu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn target() -> TargetResult {
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01_mcount".to_string(),
target_mcount: "\u{1}_mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/aarch64_unknown_linux_musl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn target() -> TargetResult {
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01_mcount".to_string(),
target_mcount: "\u{1}_mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/arm_unknown_linux_gnueabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
options: TargetOptions {
features: "+strict-align,+v6".to_string(),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/arm_unknown_linux_gnueabihf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
options: TargetOptions {
features: "+strict-align,+v6,+vfp2".to_string(),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/arm_unknown_linux_musleabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/arm_unknown_linux_musleabihf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv4t_unknown_linux_gnueabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn target() -> TargetResult {
// Atomic operations provided by compiler-builtins
max_atomic_width: Some(32),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv5te_unknown_linux_gnueabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn target() -> TargetResult {
// Atomic operations provided by compiler-builtins
max_atomic_width: Some(32),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv5te_unknown_linux_musleabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn target() -> TargetResult {
// Atomic operations provided by compiler-builtins
max_atomic_width: Some(32),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv6_unknown_freebsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
features: "+v6,+vfp2".to_string(),
max_atomic_width: Some(64),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv7_unknown_cloudabi_eabihf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
target_vendor: "unknown".to_string(),
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv7_unknown_freebsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
features: "+v7,+vfp3,+d16,+thumb2,-neon".to_string(),
max_atomic_width: Some(64),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv7_unknown_linux_gnueabihf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
cpu: "generic".to_string(),
max_atomic_width: Some(64),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01__gnu_mcount_nc".to_string(),
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/armv7_unknown_linux_musleabihf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn target() -> TargetResult {
cpu: "generic".to_string(),
max_atomic_width: Some(64),
abi_blacklist: super::arm_base::abi_blacklist(),
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/i686_apple_darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
target_vendor: "apple".to_string(),
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
},
})
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/spec/x86_64_apple_darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
target_vendor: "apple".to_string(),
linker_flavor: LinkerFlavor::Gcc,
options: TargetOptions {
target_mcount: "\01mcount".to_string(),
target_mcount: "\u{1}mcount".to_string(),
.. base
},
})
Expand Down

0 comments on commit 7b26a43

Please sign in to comment.