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
[`arm64_32-apple-watchos`](platform-support/apple-watchos.md) | ✓ | | ARM Apple WatchOS 64-bit with 32-bit pointers
241
+
[`arm64_32-apple-watchos`](platform-support/apple-watchos.md) | ✓ | | ARM Apple WatchOS 64-bit with 32-bit pointers
242
242
[`armeb-unknown-linux-gnueabi`](platform-support/armeb-unknown-linux-gnueabi.md) | ✓ | ? | ARM BE8 the default ARM big-endian architecture since [ARMv6](https://developer.arm.com/documentation/101754/0616/armlink-Reference/armlink-Command-line-Options/--be8?lang=en).
243
-
`armv4t-none-eabi` | * | | Bare ARMv4T
243
+
[`armv4t-none-eabi`](platform-support/armv4t-none-eabi.md) | * | | Bare ARMv4T
244
244
`armv4t-unknown-linux-gnueabi` | ? | | ARMv4T Linux
245
-
[`armv5te-none-eabi`](platform-support/armv5te-none-eabi.md) | * | | Bare ARMv5TE
245
+
[`armv5te-none-eabi`](platform-support/armv5te-none-eabi.md) | * | | Bare ARMv5TE
246
246
`armv5te-unknown-linux-uclibceabi` | ? | | ARMv5TE Linux with uClibc
This target doesn't provide a linker script, you'll need to bring your own
32
-
according to the specific device you want to target. Pass
33
-
`-Clink-arg=-Tyour_script.ld` as a rustc argument to make the linker use
34
-
`your_script.ld` during linking.
35
-
36
-
## Building Rust Programs
37
-
38
-
Because it is Tier 3, rust does not yet ship pre-compiled artifacts for this target.
39
-
40
-
Just use the `build-std` nightly cargo feature to build the `core` library. You
41
-
can pass this as a command line argument to cargo, or your `.cargo/config.toml`
42
-
file might include the following lines:
43
-
44
-
```toml
45
-
[unstable]
46
-
build-std = ["core"]
47
-
```
48
-
49
-
Most of `core` should work as expected, with the following notes:
50
-
* the target is "soft float", so `f32` and `f64` operations are emulated in
51
-
software.
52
-
* integer division is also emulated in software.
53
-
* the target is old enough that it doesn't have atomic instructions.
54
-
55
-
`alloc` is also supported, as long as you provide your own global allocator.
56
-
57
-
Rust programs are output as ELF files.
58
-
59
18
## Testing
60
19
61
20
This is a cross-compiled target that you will need to emulate during testing.
62
21
63
22
Because this is a device-agnostic target, and the exact emulator that you'll
64
23
need depends on the specific device you want to run your code on.
65
24
66
-
For example, when programming for the DS, you can use one of the several available DS emulators, such as [melonDS](https://melonds.kuribo64.net/).
25
+
For example, when programming for the DS, you can use one of the several
26
+
available DS emulators, such as [melonDS](https://melonds.kuribo64.net/).
0 commit comments