File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3334,6 +3334,21 @@ impl Build {
3334
3334
// Use the GNU-variant to match other Unix systems.
3335
3335
name = format ! ( "g{}" , tool) . into ( ) ;
3336
3336
self . cmd ( & name)
3337
+ } else if target. os == "vxworks" {
3338
+ name = format ! ( "wr-{}" , tool) . into ( ) ;
3339
+ self . cmd ( & name)
3340
+ } else if target. os == "nto" {
3341
+ name = match target. arch {
3342
+ "i586" | "x86" => format ! ( "ntox86-{}" , tool) . into ( ) ,
3343
+ "aarch64" | "x86_64" => format ! ( "nto{}-{}" , target. arch, tool) . into ( ) ,
3344
+ _ => {
3345
+ return Err ( Error :: new (
3346
+ ErrorKind :: InvalidTarget ,
3347
+ format ! ( "Unknown architecture for Neutrino QNX: {}" , target. arch) ,
3348
+ ) )
3349
+ }
3350
+ } ;
3351
+ self . cmd ( & name)
3337
3352
} else if self . get_is_cross_compile ( ) ? {
3338
3353
match self . prefix_for_target ( & self . get_raw_target ( ) ?) {
3339
3354
Some ( prefix) => {
You can’t perform that action at this time.
0 commit comments