mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-09 08:17:28 +00:00
build.rs: disable 'extra' warnings
This commit is contained in:
@@ -4,6 +4,7 @@ fn main() {
|
||||
.cpp(true)
|
||||
.include("csrc")
|
||||
.file("csrc/game-activity/GameActivity.cpp")
|
||||
.extra_warnings(false)
|
||||
.cpp_link_stdlib("c++_static")
|
||||
.compile("libgame_activity.a");
|
||||
cc::Build::new()
|
||||
@@ -16,6 +17,7 @@ fn main() {
|
||||
.include("csrc")
|
||||
.include("csrc/game-activity/native_app_glue")
|
||||
.file("csrc/game-activity/native_app_glue/android_native_app_glue.c")
|
||||
.extra_warnings(false)
|
||||
.cpp_link_stdlib("c++_static")
|
||||
.compile("libnative_app_glue.a");
|
||||
}
|
||||
Reference in New Issue
Block a user