diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-05-17 22:01:54 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-05-17 22:11:51 +0200 |
| commit | 8f18e4fe4bd8cce290c42b662e8db6897b47582d (patch) | |
| tree | 7b3e37917fe492498eda8db10f99524e4b201fe7 /compiler/rustc_mir_transform/src | |
| parent | 6016bad0636f3597851bf4d8e2b7262932dfb777 (diff) | |
| download | rust-8f18e4fe4bd8cce290c42b662e8db6897b47582d.tar.gz rust-8f18e4fe4bd8cce290c42b662e8db6897b47582d.zip | |
Use `_NSGetArgc`/`_NSGetArgv` on iOS/tvOS/watchOS/visionOS
If we're comfortable using `_NSGetEnviron` from `crt_externs.h`, there shouldn't be an issue with using these either, and then we can merge with the macOS implementation. This also fixes two test cases on Mac Catalyst: - `tests/ui/command/command-argv0.rs`, maybe because `[[NSProcessInfo processInfo] arguments]` somehow converts the name of the first argument? - `tests/ui/env-funky-keys.rs` since we no longer link to Foundation.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
