summaryrefslogtreecommitdiffstats
path: root/third_party/rust/gcc/src/bin/gcc-shim.rs
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-03-13 14:55:45 +0100
committerGitHub <noreply@github.com>2018-03-13 14:55:45 +0100
commit5462c415744a64899dcd344dee42075f9154741b (patch)
treebbbb7df9a9f18c5fd3caf406d7f5bc9e13168d1f /third_party/rust/gcc/src/bin/gcc-shim.rs
parent90e68c3e3f4bb2f1a427a01586981e62bf74b898 (diff)
parent38d185280e2cad4ed6673bb38f707f54dad4ded7 (diff)
downloadUXP-5462c415744a64899dcd344dee42075f9154741b.tar
UXP-5462c415744a64899dcd344dee42075f9154741b.tar.gz
UXP-5462c415744a64899dcd344dee42075f9154741b.tar.lz
UXP-5462c415744a64899dcd344dee42075f9154741b.tar.xz
UXP-5462c415744a64899dcd344dee42075f9154741b.zip
Merge pull request #59 from MoonchildProductions/Evapo-Rust
Remove all rust components and libs.
Diffstat (limited to 'third_party/rust/gcc/src/bin/gcc-shim.rs')
-rw-r--r--third_party/rust/gcc/src/bin/gcc-shim.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/third_party/rust/gcc/src/bin/gcc-shim.rs b/third_party/rust/gcc/src/bin/gcc-shim.rs
deleted file mode 100644
index 43fd811d3..000000000
--- a/third_party/rust/gcc/src/bin/gcc-shim.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-#![cfg_attr(test, allow(dead_code))]
-
-use std::env;
-use std::fs::File;
-use std::io::prelude::*;
-use std::path::PathBuf;
-
-fn main() {
- let out_dir = PathBuf::from(env::var_os("GCCTEST_OUT_DIR").unwrap());
- for i in 0.. {
- let candidate = out_dir.join(format!("out{}", i));
- if candidate.exists() {
- continue
- }
- let mut f = File::create(candidate).unwrap();
- for arg in env::args().skip(1) {
- writeln!(f, "{}", arg).unwrap();
- }
-
- File::create(out_dir.join("libfoo.a")).unwrap();
- break
- }
-}