We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3278cb5 commit 8e9a840Copy full SHA for 8e9a840
build_system/Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "y"
3
version = "0.1.0"
4
-edition = "2021"
+edition = "2024"
5
6
[dependencies]
7
boml = "0.3.1"
build_system/src/main.rs
@@ -60,7 +60,9 @@ pub enum Command {
60
61
fn main() {
62
if env::var("RUST_BACKTRACE").is_err() {
63
- env::set_var("RUST_BACKTRACE", "1");
+ unsafe {
64
+ env::set_var("RUST_BACKTRACE", "1");
65
+ }
66
}
67
68
let command = match env::args().nth(1).as_deref() {
build_system/src/utils.rs
@@ -10,7 +10,7 @@ use std::path::{Path, PathBuf};
10
use std::process::{Command, ExitStatus, Output};
11
12
#[cfg(unix)]
13
-extern "C" {
+unsafe extern "C" {
14
fn raise(signal: c_int) -> c_int;
15
16
0 commit comments