diff options
Diffstat (limited to 'xtask/build.rs')
| -rw-r--r-- | xtask/build.rs | 9 | +9 −0 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xtask/build.rs b/xtask/build.rs new file mode 100644 --- /dev/null +++ b/xtask/build.rs @@ -0,0 +1,9 @@ +// SPDX-FileCopyrightText: 2026 Nikolay Govorov +// SPDX-License-Identifier: AGPL-3.0-or-later + +fn main() { + println!( + "cargo:rustc-env=TARGET={}", + std::env::var("TARGET").unwrap() + ); +} |
