Commit 2b352701 authored by Nathan Froyd's avatar Nathan Froyd
Browse files

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.
parent b38d8988
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 −1
Original line number Diff line number Diff line
[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"
]