diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-03-01 03:10:05 +0100 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-08-08 13:29:46 +0200 |
| commit | d434cae18f92d8a5ef8996fb579e2c11efbaa2cb (patch) | |
| tree | da703904dd9303338262092b848e2d122b0e4d42 /compiler/rustc_metadata/src | |
| parent | 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff) | |
Add target_env = "macabi" and target_env = "sim"
Diffstat (limited to 'compiler/rustc_metadata/src')
| -rw-r--r-- | compiler/rustc_metadata/src/native_libs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/native_libs.rs b/compiler/rustc_metadata/src/native_libs.rs index 8855766ca98..958e314efab 100644 --- a/compiler/rustc_metadata/src/native_libs.rs +++ b/compiler/rustc_metadata/src/native_libs.rs @@ -83,7 +83,7 @@ pub fn walk_native_lib_search_dirs<R>( // Mac Catalyst uses the macOS SDK, but to link to iOS-specific frameworks // we must have the support library stubs in the library search path (#121430). if let Some(sdk_root) = apple_sdk_root - && sess.target.llvm_target.contains("macabi") + && sess.target.env == "macabi" { f(&sdk_root.join("System/iOSSupport/usr/lib"), false)?; f(&sdk_root.join("System/iOSSupport/System/Library/Frameworks"), true)?; |
