arm-musl: set max_atomic_width
This commit is contained in:
parent
9ffd0fe5a7
commit
e50bcf3404
3 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ pub fn target() -> Target {
|
||||||
// Most of these settings are copied from the arm_unknown_linux_gnueabi
|
// Most of these settings are copied from the arm_unknown_linux_gnueabi
|
||||||
// target.
|
// target.
|
||||||
base.features = "+v6".to_string();
|
base.features = "+v6".to_string();
|
||||||
|
base.max_atomic_width = 64;
|
||||||
Target {
|
Target {
|
||||||
// It's important we use "gnueabi" and not "musleabi" here. LLVM uses it
|
// It's important we use "gnueabi" and not "musleabi" here. LLVM uses it
|
||||||
// to determine the calling convention and float ABI, and it doesn't
|
// to determine the calling convention and float ABI, and it doesn't
|
||||||
|
|
|
@ -16,6 +16,7 @@ pub fn target() -> Target {
|
||||||
// Most of these settings are copied from the arm_unknown_linux_gnueabihf
|
// Most of these settings are copied from the arm_unknown_linux_gnueabihf
|
||||||
// target.
|
// target.
|
||||||
base.features = "+v6,+vfp2".to_string();
|
base.features = "+v6,+vfp2".to_string();
|
||||||
|
base.max_atomic_width = 64;
|
||||||
Target {
|
Target {
|
||||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||||
// uses it to determine the calling convention and float ABI, and it
|
// uses it to determine the calling convention and float ABI, and it
|
||||||
|
|
|
@ -17,6 +17,7 @@ pub fn target() -> Target {
|
||||||
// target.
|
// target.
|
||||||
base.features = "+v7,+vfp3,+neon".to_string();
|
base.features = "+v7,+vfp3,+neon".to_string();
|
||||||
base.cpu = "cortex-a8".to_string();
|
base.cpu = "cortex-a8".to_string();
|
||||||
|
base.max_atomic_width = 64;
|
||||||
Target {
|
Target {
|
||||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||||
// uses it to determine the calling convention and float ABI, and LLVM
|
// uses it to determine the calling convention and float ABI, and LLVM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue