зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1325632 - part 3 - compile rust bindings with -fno-sized-deallocation; r=ted.mielczarek
This probably doesn't make a huge difference, as we're not generating any code here, but better safe than sorry.
This commit is contained in:
Родитель
b38d89886c
Коммит
2b3527011f
|
@ -143,7 +143,8 @@ const UNSAFE_IMPL_SYNC_TYPES: &'static [&'static str] = &[
|
|||
/// Flags passed through bindgen directly to Clang.
|
||||
const EXTRA_CLANG_FLAGS: &'static [&'static str] = &[
|
||||
"-x", "c++",
|
||||
"-std=c++14",
|
||||
"-std=gnu++14",
|
||||
"-fno-sized-deallocation",
|
||||
"-DRUST_BINDGEN",
|
||||
];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[build]
|
||||
args = [
|
||||
"-x", "c++", "-std=c++14",
|
||||
"-x", "c++", "-std=c++14", "-fno-sized-deallocation",
|
||||
"-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1",
|
||||
"-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DMOZ_STYLO"
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче