Skip to content

Commit

Permalink
rusfmt pass
Browse files Browse the repository at this point in the history
it took a while to catch up to the dev branch, but now we can finally
do it
  • Loading branch information
Geal authored and FlorentinDUBOIS committed Jul 13, 2022
1 parent 478c6bb commit 627dd0e
Show file tree
Hide file tree
Showing 77 changed files with 32,228 additions and 25,887 deletions.
4 changes: 2 additions & 2 deletions bin/build.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::env;

fn main(){
fn main() {
// Export defaults as compile time environment variables.
// These variables are to be set by package managers in their build script.
// `export SOZU_CONFIG=<default configuration file> && cargo build`.
let variables = vec!("SOZU_CONFIG", "SOZU_PID_FILE_PATH");
let variables = vec!["SOZU_CONFIG", "SOZU_PID_FILE_PATH"];
for variable in variables {
if let Ok(val) = env::var(variable) {
println!("cargo:rustc-env={}={}", variable, val);
Expand Down

0 comments on commit 627dd0e

Please sign in to comment.