You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_codegen_ssa/messages.ftl
+59-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,65 @@ codegen_ssa_L4Bender_exporting_symbols_unimplemented = exporting symbols not imp
2
2
3
3
codegen_ssa_add_native_library = failed to add native library {$library_path}: {$error}
4
4
5
-
codegen_ssa_apple_sdk_error_sdk_path = failed to get {$sdk_name} SDK path: {$error}
5
+
codegen_ssa_apple_sdk_error_failed_reading =
6
+
failed reading `{$path}` while looking for SDK root: {$error}
7
+
8
+
codegen_ssa_apple_sdk_error_missing =
9
+
failed finding SDK for platform `{$sdk_name}`. It looks like you have not installed Xcode?
10
+
11
+
{$sdk_name->
12
+
[MacOSX] You should install Xcode via the App Store, or run `xcode-select --install` to install the Command Line Tools if you only intend on developing for macOS.
13
+
*[other] You should install Xcode via the App Store.
The SDK is needed by the linker to know where to find symbols in system libraries and for embedding the SDK version in the final object file.
28
+
29
+
The SDK can be downloaded and extracted from https://developer.apple.com/download/all/?q=xcode (requires an Apple ID).
30
+
31
+
The full Xcode bundle should contain the SDK in `Xcode.app/Contents/Developer/Platforms/{$sdk_name}.platform/Developer/SDKs/{$sdk_name}.sdk`{$sdk_name->
32
+
[MacOSX] , but downloading just the Command Line Tools for Xcode should also be sufficient to obtain the macOS SDK.
33
+
*[other] .
34
+
}
35
+
36
+
You will then need to tell `rustc` about it using the `SDKROOT` environment variables.
37
+
38
+
Furthermore, you might need to install a linker capable of linking Mach-O files, or at least ensure that `rustc` is configured to use the bundled `lld`.
39
+
40
+
{$sdk_name->
41
+
[MacOSX] {""}
42
+
*[other] Beware that cross-compilation to iOS, tvOS, visionOS or watchOS is generally ill supported on non-macOS hosts.
0 commit comments