Skip to content

Commit

Permalink
Use Config::from_env in the benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
koute committed Jun 3, 2024
1 parent d66bfde commit 7bb6cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/benchtool/src/backend/backend_polkavm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Backend for PolkaVM {
}

fn create(&self, args: CreateArgs) -> Self::Engine {
let mut config = polkavm::Config::default();
let mut config = polkavm::Config::from_env().unwrap();
config.set_backend(Some(self.0));
if args.is_compile_only {
config.set_worker_count(0);
Expand Down

0 comments on commit 7bb6cef

Please sign in to comment.