Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2019
What would you like to do?
cross patch
diff --git a/src/ b/src/
index 99a4883..84883fd 100644
--- a/src/
+++ b/src/
@@ -62,7 +62,7 @@ pub fn register(target: &Target, verbose: bool) -> Result<()> {
- .arg("-it")
+ .arg("-i")
.args(&["sh", "-c", cmd])
@@ -160,7 +160,7 @@ pub fn run(target: &Target,
.args(&["-v", &format!("{}:/rust:Z,ro", sysroot.display())])
.args(&["-v", &format!("{}:/target:Z", target_dir.display())])
.args(&["-w", "/project"])
- .args(&["-it", &image(toml, target)?])
+ .args(&["-i", &image(toml, target)?])
.args(&["sh", "-c", &format!("PATH=$PATH:/rust/bin {:?}", cmd)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.