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
Rollup merge of rust-lang#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```
- B I Mohammed Abbas ([@biabbas](https://github.com/biabbas))
20
+
21
+
## Requirements
22
+
23
+
Rust for each target can be cross-compiled with its specific target vsb configuration. Std support is added but not yet fully tested.
24
+
25
+
## Building the target
26
+
27
+
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.
28
+
29
+
```toml
30
+
[build]
31
+
build-stage = 1
32
+
target = [
33
+
"<HOST_TARGET>",
34
+
"x86_64-wrs-vxworks",
35
+
"aarch64-wrs-vxworks",
36
+
"i686-wrs-vxworks",
37
+
"armv7-wrs-vxworks-eabihf",
38
+
"powerpc-wrs-vxworks",
39
+
"powerpc-wrs-vxworks-spe",
40
+
]
41
+
```
42
+
43
+
## Building Rust programs
44
+
45
+
Rust does not yet ship pre-compiled artifacts for VxWorks.
46
+
47
+
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.
48
+
49
+
## Cross-compilation toolchains and C code
50
+
51
+
The target supports C code. Pre-compiled C toolchains can be found in provided VxWorks workbench.
0 commit comments