Sign in
pigweed
/
third_party
/
github
/
bazelbuild
/
rules_rust
/
b4ccc97bbe4e6c2cb264efe075cc7b55126f9607
/
.
/
test
/
unit
/
rustdoc
/
rustdoc_build.rs
blob: 32d5dda843ecefe759bcd4ecd455edb43bb1ab62 [
file
] [
log
] [
blame
]
fn
main
()
{
println
!(
"cargo:rustc-env=CONST=xyz"
);
if
cfg
!(
target_os
=
"macos"
)
{
println
!(
"cargo:rustc-link-lib=dylib=c++"
)
}
else
if
cfg
!(
target_os
=
"linux"
)
{
println
!(
"cargo:rustc-link-lib=dylib=stdc++"
)
}
}