Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions anneal/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion anneal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = [".", "tools/doc_gen"]
members = [".", "tools/doc_gen", "v2/setup"]

[package]
name = "cargo-anneal"
Expand Down
12 changes: 12 additions & 0 deletions anneal/v2/setup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "setup"
version = "0.1.0"
edition = "2024"

[dependencies]
log = "0.4"
reqwest = { version = "0.12", features = ["blocking", "rustls-tls"] }
sha2 = "0.10"
tempfile = "3.27.0"
tar = "0.4"
zstd = "0.13"
13 changes: 13 additions & 0 deletions anneal/v2/setup/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
fn main() {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-changed=Cargo.toml");

println!(
"cargo:rustc-env=SETUP_ARCHIVE_BASE_URL=https://github.com/google/zerocopy/releases/download/build-2026.04.19.084341-62d9816418bdb3d566381c1a4070784f7cf5380e",
);
for arch in ["LINUX_AARCH64", "LINUX_X86_64", "MACOS_AARCH64", "MACOS_X86_64"] {
println!(
"cargo:rustc-env=SETUP_ARCHIVE_SHA256_{arch}=54c9eabc88dbb604758edce1b51287ccd69c8a93db003278ea9ad4e97bb24a05",
);
}
}
Loading
Loading