From 76bcb5b265c8a0ab719bd7d258a05c82601b1cd7 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 26 Jun 2020 16:14:21 -0400 Subject: [PATCH 1/2] Force clang to treat all input files as C++. --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 4ca7522c3..a966b07eb 100644 --- a/build.rs +++ b/build.rs @@ -176,6 +176,7 @@ fn build_angle() { .file("src/shaders/glslang-c.cpp") .cpp(true) .warnings(false) + .flag_if_supported("-xc++") .flag_if_supported("-std=c++14") .flag_if_supported("/wd4100") .flag_if_supported("/wd4127") From 7204edf8d3fa45cd1ade5f6aabc13f2951d07dec Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 26 Jun 2020 16:20:17 -0400 Subject: [PATCH 2/2] Minor version bump to 0.3.2. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c9e47222b..977a78776 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mozangle" -version = "0.3.1" +version = "0.3.2" authors = ["The ANGLE Project Authors", "The Servo Project Developers"] license = " BSD-3-Clause" description = "Mozilla’s fork of Google ANGLE, repackaged as a Rust crate "