diff --git a/BUILD.gn b/BUILD.gn index 657ecef0..074b248c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -31,6 +31,7 @@ ohos_cargo_crate("lib") { ] build_root = "build.rs" build_sources = [ "build.rs" ] + module_output_extension = ".rlib" part_name = "rust_libc" subsystem_name = "thirdparty" }