Skip to content

Commit

Permalink
Fix now unsafe set_var
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Feb 28, 2025
1 parent a9af961 commit c14a35f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion acvm-repo/acir/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ fn main() {
let (protoc_bin, include_dir) =
protoc_prebuilt::init("29.3").expect("failed to initialize protoc");

std::env::set_var("PROTOC", protoc_bin);
unsafe {
std::env::set_var("PROTOC", protoc_bin);
}

prost_build::compile_protos(
&[
Expand Down

0 comments on commit c14a35f

Please sign in to comment.