mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
rust: fix issues reported by clippy
This commit is contained in:
committed by
Johannes Altmanninger
parent
c2df63f586
commit
853649f8dc
@@ -38,7 +38,7 @@ fn main() -> miette::Result<()> {
|
||||
// Emit autocxx junk.
|
||||
// This allows "C++ to be used from Rust."
|
||||
let include_paths = [&fish_src_dir, &fish_build_dir, &cxx_include_dir];
|
||||
let mut b = autocxx_build::Builder::new("src/ffi.rs", &include_paths)
|
||||
let mut b = autocxx_build::Builder::new("src/ffi.rs", include_paths)
|
||||
.custom_gendir(autocxx_gen_dir.into())
|
||||
.build()?;
|
||||
b.flag_if_supported("-std=c++11")
|
||||
|
||||
Reference in New Issue
Block a user