Skip to content

Commit

Permalink
Update aarch64-apple-darwin.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimTheBig authored Apr 18, 2024
1 parent f263546 commit bb5ea61
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/doc/rustc/src/platform-support/aarch64-apple-darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The default binary format is Mach-O, the executable format used on Apple's platf

## Building the target

Just add it to the `target` with:
Just add it to the `target` with:
```
rustup target add aarch64-apple-darwin
```
Expand All @@ -32,9 +32,10 @@ Rust ships pre-compiled artifacts for this target or build your own copy of `cor

## Testing

Binaries produced for this target can be run directly on Apple Silicon Macs natively.
Binaries produced for this target can be run directly on Apple Silicon Macs natively.
The Rust test suite can be run for this target on such hardware.

## Cross-compilation toolchains and C code

This target supports C code. To build compatible C code, you should use a toolchain targeting aarch64-apple-darwin, such as Xcode on a Mac or GCC. The toolchain target triple matches this Rust target triple.
This target supports C code. To build compatible C code, you should use a toolchain targeting aarch64-apple-darwin, such as Xcode on a Mac or GCC.
The toolchain target triple matches this Rust target triple.

0 comments on commit bb5ea61

Please sign in to comment.