Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Nov 19, 2024
1 parent 80525c4 commit 4ccf2d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aws-lc-fips-sys/builder/cmake_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@ impl CmakeBuilder {
cmake::Config::new(&self.manifest_dir)
}

const GOCACHE_DIR_NAME: &'static str = "go-cache";
#[allow(clippy::too_many_lines)]
fn prepare_cmake_build(&self) -> cmake::Config {
env::set_var("GOCACHE", self.out_dir.join("go-build").as_os_str());
env::set_var(
"GOCACHE",
self.out_dir.join(Self::GOCACHE_DIR_NAME).as_os_str(),
);

let mut cmake_cfg = self.get_cmake_config();

Expand Down

0 comments on commit 4ccf2d7

Please sign in to comment.