Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
9
third-party/vendor/autocfg/examples/versions.rs
vendored
Normal file
9
third-party/vendor/autocfg/examples/versions.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extern crate autocfg;
|
||||
|
||||
fn main() {
|
||||
// Normally, cargo will set `OUT_DIR` for build scripts.
|
||||
let ac = autocfg::AutoCfg::with_dir("target").unwrap();
|
||||
for i in 0..100 {
|
||||
ac.emit_rustc_version(1, i);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue