Skip to content

Commit b07ef19

Browse files
committed
clarify details regarding system ABI, fix typos
1 parent 1e05bd4 commit b07ef19

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doc/rustc/src/platform-support/armv7a-vex-v5.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ This target is cross-compiled. Dynamic linking is unsupported.
2525
- `std::process` and `std::net` are unimplemented. `std::thread` only supports sleeping and yielding, as this is a single-threaded environment.
2626
- `std::time` has full support for `Instant`, but no support for `SystemTime`.
2727
- `std::io` has full support for `stdin`/`stdout`/`stderr`. `stdout` and `stderr` both write to to USB channel 1 on this platform and are not differentiated.
28-
- `std::fs`, has limited support for reading or writing to files. Directory operations, file deletion, and some file opening features are unsupported and will return errors.
29-
- A global allocator is provided and implemented on top of `dlmalloc`.
30-
- Modules that do not need to interact with the OS beyond allocation, such as `std::collections`, `std::hash`, `std::future`, `std::sync`, etc are fully supported.
31-
- Random number generation is insecure, as there is no reliable source of entropy on this platform.
28+
- `std::fs` has limited support for reading or writing to files. Directory operations, file deletion, and some file opening features are unsupported and will return errors.
29+
- A global allocator implemented on top of `dlmalloc` is provided.
30+
- Modules that do not need to interact with the OS beyond allocation such as `std::collections`, `std::hash`, `std::future`, `std::sync`, etc are fully supported.
31+
- Random number generation and hashing is insecure, as there is no reliable source of entropy on this platform.
3232

3333
In order to support some APIs, users are expected to provide a supporting runtime SDK for `libstd` to link against. This library may be provided either by [`vex-sdk-build`](https://github.com/vexide/vex-sdk/tree/main/packages/vex-sdk-build) (which will download an official SDK from VEX) or through an open-source implementation such as [`vex-sdk-jumptable`](https://crates.io/crates/vex-sdk-jumptable).
3434

35-
When compiling for this target, the "C" calling convention maps to AAPCS with VFP registers (hard float ABI) and the "system" calling convention maps to AAPCS without VFP registers (soft float ABI).
35+
When compiling for this target, the "C" calling convention maps to AAPCS with VFP registers (hard float ABI) and the "system" calling convention maps to AAPCS without VFP registers (softfp ABI).
3636

3737
This target generates binaries in the ELF format that may be uploaded to the brain with external tools.
3838

0 commit comments

Comments
 (0)