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:
Nathan Froyd 2017-11-15 14:53:17 -04:00
Родитель b38d89886c
Коммит 2b3527011f
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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"
]