diff --git a/api/build.rs b/api/build.rs index 6b8615e..948e99c 100644 --- a/api/build.rs +++ b/api/build.rs @@ -11,11 +11,13 @@ fn main() -> Result<(), Box> { .compile(&["../shared/proto/lambdo.proto"], &["../shared/proto"])?; let _ = Command::new(std::env::var("RUSTFMT").unwrap_or_else(|_| "rustfmt".to_owned())) + .arg("--edition") + .arg("2021") .arg("--emit") .arg("files") .arg(format!( "{}/{}", - "src/vm_manager_vmm", "grpc_definitions.rs" + "src/vm_manager/vmm", "grpc_definitions.rs" )) .output();