Merge pull request #18 from Wind-River/bpang-runtest-2
simplify is_vxworks_pure_dynamic()
This commit is contained in:
commit
109e16e857
@ -1733,14 +1733,7 @@ fn is_vxworks_pure_static(&self) -> bool {
|
||||
}
|
||||
|
||||
fn is_vxworks_pure_dynamic(&self) -> bool {
|
||||
if self.config.target.contains("vxworks") {
|
||||
match env::var("RUST_VXWORKS_TEST_DYLINK") {
|
||||
Ok(s) => s == "1",
|
||||
_ => false
|
||||
}
|
||||
} else {
|
||||
false
|
||||
}
|
||||
self.config.target.contains("vxworks") && !self.is_vxworks_pure_static()
|
||||
}
|
||||
|
||||
fn compose_and_run_compiler(&self, mut rustc: Command, input: Option<String>) -> ProcRes {
|
||||
|
Loading…
Reference in New Issue
Block a user