-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #128431 - biabbas:master, r=Urgau
Add myself as VxWorks target maintainer for reference Hi, would be working on VxWorks regularly, thus adding myself as a target maintainer. r? ```@workingjubilee```
- Loading branch information
Showing
3 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# `*-wrs-vxworks` | ||
|
||
**Tier: 3** | ||
|
||
Targets for the VxWorks operating | ||
system. | ||
|
||
Target triplets available: | ||
|
||
- `x86_64-wrs-vxworks` | ||
- `aarch64-wrs-vxworks` | ||
- `i686-wrs-vxworks` | ||
- `armv7-wrs-vxworks-eabihf` | ||
- `powerpc-wrs-vxworks` | ||
- `powerpc-wrs-vxworks-spe` | ||
|
||
## Target maintainers | ||
|
||
- B I Mohammed Abbas ([@biabbas](https://github.com/biabbas)) | ||
|
||
## Requirements | ||
|
||
Rust for each target can be cross-compiled with its specific target vsb configuration. Std support is added but not yet fully tested. | ||
|
||
## Building the target | ||
|
||
You can build Rust with support for the targets by adding it to the `target` list in `config.toml`. In addition the workbench and wr-cc have to configured and activated. | ||
|
||
```toml | ||
[build] | ||
build-stage = 1 | ||
target = [ | ||
"<HOST_TARGET>", | ||
"x86_64-wrs-vxworks", | ||
"aarch64-wrs-vxworks", | ||
"i686-wrs-vxworks", | ||
"armv7-wrs-vxworks-eabihf", | ||
"powerpc-wrs-vxworks", | ||
"powerpc-wrs-vxworks-spe", | ||
] | ||
``` | ||
|
||
## Building Rust programs | ||
|
||
Rust does not yet ship pre-compiled artifacts for VxWorks. | ||
|
||
The easiest way to build and test programs for VxWorks is to use the shipped rustc and cargo in VxWorks workbench, following the official windriver guidelines. | ||
|
||
## Cross-compilation toolchains and C code | ||
|
||
The target supports C code. Pre-compiled C toolchains can be found in provided VxWorks workbench. |