1
Fork 0

arm-musl: set max_atomic_width

This commit is contained in:
Jorge Aparicio 2016-07-26 19:27:43 -05:00
parent 9ffd0fe5a7
commit e50bcf3404
3 changed files with 3 additions and 0 deletions

View file

@ -16,6 +16,7 @@ pub fn target() -> Target {
// Most of these settings are copied from the arm_unknown_linux_gnueabi
// target.
base.features = "+v6".to_string();
base.max_atomic_width = 64;
Target {
// 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

View file

@ -16,6 +16,7 @@ pub fn target() -> Target {
// Most of these settings are copied from the arm_unknown_linux_gnueabihf
// target.
base.features = "+v6,+vfp2".to_string();
base.max_atomic_width = 64;
Target {
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
// uses it to determine the calling convention and float ABI, and it

View file

@ -17,6 +17,7 @@ pub fn target() -> Target {
// target.
base.features = "+v7,+vfp3,+neon".to_string();
base.cpu = "cortex-a8".to_string();
base.max_atomic_width = 64;
Target {
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
// uses it to determine the calling convention and float ABI, and LLVM