Skip to content

Commit 8bc9b0c

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6-beta.1
1 parent d4b8090 commit 8bc9b0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

usdt-impl/build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ enum Backend {
2727

2828
fn main() {
2929
println!("cargo:rerun-if-changed=build.rs");
30+
println!("cargo::rustc-check-cfg=cfg(usdt_backend_noop)");
31+
println!("cargo::rustc-check-cfg=cfg(usdt_backend_linker)");
32+
println!("cargo::rustc-check-cfg=cfg(usdt_backend_standard)");
3033

3134
// `asm` feature was stabilized in 1.59
3235
let have_stable_asm = version_check::is_min_version("1.59").unwrap_or(false);

0 commit comments

Comments
 (0)