[watchos] Dynamic linking is not allowed for watchos targets

This commit is contained in:
Vladimir Michael Eatwell 2022-11-13 12:29:55 +00:00
parent 928d14bcd1
commit db99a89e38
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ pub fn target() -> Target {
features: "+neon,+fp-armv8,+apple-a7".into(), features: "+neon,+fp-armv8,+apple-a7".into(),
max_atomic_width: Some(128), max_atomic_width: Some(128),
forces_embed_bitcode: true, forces_embed_bitcode: true,
dynamic_linking: false,
position_independent_executables: true,
// These arguments are not actually invoked - they just have // These arguments are not actually invoked - they just have
// to look right to pass App Store validation. // to look right to pass App Store validation.
bitcode_llvm_cmdline: "-triple\0\ bitcode_llvm_cmdline: "-triple\0\

View File

@ -12,6 +12,8 @@ pub fn target() -> Target {
features: "+v7,+vfp4,+neon".into(), features: "+v7,+vfp4,+neon".into(),
max_atomic_width: Some(64), max_atomic_width: Some(64),
forces_embed_bitcode: true, forces_embed_bitcode: true,
dynamic_linking: false,
position_independent_executables: true,
// These arguments are not actually invoked - they just have // These arguments are not actually invoked - they just have
// to look right to pass App Store validation. // to look right to pass App Store validation.
bitcode_llvm_cmdline: "-triple\0\ bitcode_llvm_cmdline: "-triple\0\