diff options
Diffstat (limited to 'ext/node/build.rs')
-rw-r--r-- | ext/node/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/node/build.rs b/ext/node/build.rs new file mode 100644 index 000000000..778f2da17 --- /dev/null +++ b/ext/node/build.rs @@ -0,0 +1,7 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + +use std::env; + +fn main() { + println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap()); +} |