We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c5ee1d + 7053adf commit d2ba46fCopy full SHA for d2ba46f
src/lib.rs
@@ -1761,7 +1761,9 @@ impl Build {
1761
target == "wasm32-unknown-wasi" ||
1762
target == "wasm32-unknown-unknown" {
1763
"clang".to_string()
1764
- } else if self.get_host()? != target {
+ } else if target.contains("vxworks") {
1765
+ "vx-cxx".to_string()
1766
+ } else if self.get_host()? != target {
1767
// CROSS_COMPILE is of the form: "arm-linux-gnueabi-"
1768
let cc_env = self.getenv("CROSS_COMPILE");
1769
let cross_compile = cc_env.as_ref().map(|s| s.trim_right_matches('-'));
0 commit comments