Sign in
pigweed
/
third_party
/
rust_crates
/
e4dcd91091f0537e6b5482677f2007b32a94703e
/
.
/
crates_std
/
vendor
/
autocfg-1.1.0
/
examples
/
integers.rs
blob: 23d4cba6ee3e96e8ee90d701d035478a73841ecc [
file
] [
log
] [
blame
]
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
3.
.
8
{
ac
.
emit_has_type
(&
format
!(
"i{}"
,
1
<<
i
));
}
}