Migrate opt-dist to edition 2024
This commit is contained in:
parent
52fcf33ed7
commit
34495f5895
3 changed files with 5 additions and 3 deletions
|
|
@ -2567,7 +2567,6 @@ dependencies = [
|
|||
"humansize",
|
||||
"humantime",
|
||||
"log",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sysinfo",
|
||||
"tabled",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "opt-dist"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
build_helper = { path = "../../build_helper" }
|
||||
|
|
|
|||
|
|
@ -361,7 +361,10 @@ fn execute_pipeline(
|
|||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
// Make sure that we get backtraces for easier debugging in CI
|
||||
std::env::set_var("RUST_BACKTRACE", "1");
|
||||
unsafe {
|
||||
// SAFETY: we are the only thread running at this point
|
||||
std::env::set_var("RUST_BACKTRACE", "1");
|
||||
}
|
||||
|
||||
env_logger::builder()
|
||||
.filter_level(LevelFilter::Info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue