☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
autocfg
/
examples
/
integers.rs
☽
☼
debian/rust-vendor/autocfg/examples/integers.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
extern crate autocfg;
2
3
fn main() {
4
// Normally, cargo will set `OUT_DIR` for build scripts.
5
let ac = autocfg::AutoCfg::with_dir("target").unwrap();
6
for i in 3..8 {
7
ac.emit_has_type(&format!("i{}", 1 << i));
8
}
9
}