1- # ` hexagon-qurt `
1+ # ` hexagon-unknown- qurt `
22
33** Tier: 3**
44
55Rust for Hexagon QuRT (Qualcomm Real-Time OS).
66
77| Target | Description |
88| -------------------- | ------------|
9- | hexagon-qurt | Hexagon 32-bit QuRT |
9+ | hexagon-unknown- qurt | Hexagon 32-bit QuRT |
1010
1111## Target maintainers
1212
@@ -47,9 +47,9 @@ list in `bootstrap.toml`:
4747[build ]
4848build-stage = 1
4949host = [" <target for your host>" ]
50- target = [" <target for your host>" , " hexagon-qurt" ]
50+ target = [" <target for your host>" , " hexagon-unknown- qurt" ]
5151
52- [target .hexagon-qurt ]
52+ [target .hexagon-unknown- qurt ]
5353cc = " hexagon-clang"
5454cxx = " hexagon-clang++"
5555ranlib = " llvm-ranlib"
@@ -74,7 +74,7 @@ configuration with additional linker flags:
7474
7575``` sh
7676# Build a static executable for QuRT
77- cargo rustc --target hexagon-qurt -- \
77+ cargo rustc --target hexagon-unknown- qurt -- \
7878 -C link-args=" -static -nostdlib" \
7979 -C link-args=" -L/opt/Hexagon_SDK/6.3.0.0/rtos/qurt/computev69/lib" \
8080 -C link-args=" -lqurt -lc"
@@ -92,7 +92,7 @@ For shared libraries that can be dynamically loaded by QuRT applications:
9292
9393``` sh
9494# Build a shared object for QuRT
95- cargo rustc --target hexagon-qurt \
95+ cargo rustc --target hexagon-unknown- qurt \
9696 --crate-type=cdylib -- \
9797 -C link-args=" -shared -fPIC" \
9898 -C link-args=" -L/opt/Hexagon_SDK/6.3.0.0/rtos/qurt/computev69/lib"
@@ -111,7 +111,7 @@ The target can be customized for different use cases:
111111### For Static Images
112112``` toml
113113# In .cargo/config.toml
114- [target .hexagon-qurt ]
114+ [target .hexagon-unknown- qurt ]
115115rustflags = [
116116 " -C" , " link-args=-static" ,
117117 " -C" , " link-args=-nostdlib" ,
@@ -122,7 +122,7 @@ rustflags = [
122122### For Shared Objects
123123``` toml
124124# In .cargo/config.toml
125- [target .hexagon-qurt ]
125+ [target .hexagon-unknown- qurt ]
126126rustflags = [
127127 " -C" , " link-args=-shared" ,
128128 " -C" , " link-args=-fPIC" ,
@@ -132,7 +132,7 @@ rustflags = [
132132
133133## Testing
134134
135- Since ` hexagon-qurt ` requires the QuRT runtime environment, testing requires
135+ Since ` hexagon-unknown- qurt ` requires the QuRT runtime environment, testing requires
136136either:
137137- Hexagon hardware with QuRT
138138- ` hexagon-sim `
0 commit comments