mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Fix compilation of rust bindings (#166)
This commit is contained in:
@@ -7,7 +7,7 @@ fn main() {
|
||||
println!("cargo::rustc-link-lib=hf3fs_api_shared");
|
||||
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("include/hf3fs_usrbio.h")
|
||||
.header(PathBuf::from(topdir).join("../../api/hf3fs_usrbio.h").display().to_string())
|
||||
.clang_arg("-std=c99")
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
|
||||
.generate()
|
||||
|
||||
0
src/lib/rs/hf3fs-usrbio-sys/lib/.dummy
Normal file
0
src/lib/rs/hf3fs-usrbio-sys/lib/.dummy
Normal file
Reference in New Issue
Block a user