Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindgen fails to generate glslang_glue_bindings.rs on x86_64 #76

Closed
jschwe opened this issue Mar 29, 2024 · 2 comments
Closed

bindgen fails to generate glslang_glue_bindings.rs on x86_64 #76

jschwe opened this issue Mar 29, 2024 · 2 comments

Comments

@jschwe
Copy link
Member

jschwe commented Mar 29, 2024

On some of my machines (1 ubuntu 22.04, 1 Fedora 39 machine) mozangle fails to build, due to bindgen failing to generate bindings.
The binding issue, seems to be because libclang-sys includes some avx512 intrinsics headers, which use some builtin functions which libclang-sys apparently doesn't recognize.

Stdout

The following warnings were emitted during compilation:

warning: clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
[..redacted...]

error: failed to run custom build command for `mozangle v0.5.1 (/data/servo_dependencies/mozangle)`

Caused by:
  process didn't exit successfully: `/data/servo_dependencies/mozangle/target/debug/build/mozangle-d42dc1f97a69a009/build-script-build` (exit status: 101)
  --- stdout
  build_translator
  build_lib: TRANSLATOR
  build_lib: ANGLE_COMMON
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rustc-link-lib=static=angle_common
  cargo:rustc-link-search=native=/data/servo_dependencies/mozangle/target/debug/build/mozangle-db1d2ff892b3fa2a/out
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu
  CXXSTDLIB_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu
  CXXSTDLIB_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXSTDLIB
  HOST_CXXSTDLIB = None
  cargo:rerun-if-env-changed=CXXSTDLIB
  CXXSTDLIB = None
  cargo:rustc-link-lib=stdc++
  build_lib: PREPROCESSOR
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rustc-link-lib=static=preprocessor
  cargo:rustc-link-search=native=/data/servo_dependencies/mozangle/target/debug/build/mozangle-db1d2ff892b3fa2a/out
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu
  CXXSTDLIB_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu
  CXXSTDLIB_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXSTDLIB
  HOST_CXXSTDLIB = None
  cargo:rerun-if-env-changed=CXXSTDLIB
  CXXSTDLIB = None
  cargo:rustc-link-lib=stdc++
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rustc-link-lib=static=translator
  cargo:rustc-link-search=native=/data/servo_dependencies/mozangle/target/debug/build/mozangle-db1d2ff892b3fa2a/out
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu
  CXXSTDLIB_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu
  CXXSTDLIB_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXSTDLIB
  HOST_CXXSTDLIB = None
  cargo:rerun-if-env-changed=CXXSTDLIB
  CXXSTDLIB = None
  cargo:rustc-link-lib=stdc++
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("clang++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=clang: warning: argument unused during compilation: '-arch:SSE2' [-Wunused-command-line-argument]
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rustc-link-lib=static=glslang_glue
  cargo:rustc-link-search=native=/data/servo_dependencies/mozangle/target/debug/build/mozangle-db1d2ff892b3fa2a/out
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu
  CXXSTDLIB_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu
  CXXSTDLIB_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXSTDLIB
  HOST_CXXSTDLIB = None
  cargo:rerun-if-env-changed=CXXSTDLIB
  CXXSTDLIB = None
  cargo:rustc-link-lib=stdc++

Stderr

  --- stderr
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2228:19: error: use of undeclared identifier '__builtin_ia32_paddsb128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2250:19: error: use of undeclared identifier '__builtin_ia32_paddsw128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2271:19: error: use of undeclared identifier '__builtin_ia32_paddusb128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2292:19: error: use of undeclared identifier '__builtin_ia32_paddusw128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2670:19: error: use of undeclared identifier '__builtin_ia32_psubsb128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2691:19: error: use of undeclared identifier '__builtin_ia32_psubsw128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2711:19: error: use of undeclared identifier '__builtin_ia32_psubusb128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2731:19: error: use of undeclared identifier '__builtin_ia32_psubusw128'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:95:19: error: use of undeclared identifier '__builtin_ia32_paddsb256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:101:19: error: use of undeclared identifier '__builtin_ia32_paddsw256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:107:19: error: use of undeclared identifier '__builtin_ia32_paddusb256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:113:19: error: use of undeclared identifier '__builtin_ia32_paddusw256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:631:19: error: use of undeclared identifier '__builtin_ia32_psubsb256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:637:19: error: use of undeclared identifier '__builtin_ia32_psubsw256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:643:19: error: use of undeclared identifier '__builtin_ia32_psubusb256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:649:19: error: use of undeclared identifier '__builtin_ia32_psubusw256'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9319:10: error: use of undeclared identifier '__builtin_ia32_reduce_add_q512'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9323:10: error: use of undeclared identifier '__builtin_ia32_reduce_mul_q512'
  /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9337:10: error: use of undeclared identifier '__builtin_ia32_reduce_add_q512'
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  thread 'main' panicked at build.rs:358:10:
  Should generate shader bindings: ClangDiagnostic("/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2228:19: error: use of undeclared identifier '__builtin_ia32_paddsb128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2250:19: error: use of undeclared identifier '__builtin_ia32_paddsw128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2271:19: error: use of undeclared identifier '__builtin_ia32_paddusb128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2292:19: error: use of undeclared identifier '__builtin_ia32_paddusw128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2670:19: error: use of undeclared identifier '__builtin_ia32_psubsb128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2691:19: error: use of undeclared identifier '__builtin_ia32_psubsw128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2711:19: error: use of undeclared identifier '__builtin_ia32_psubusb128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:2731:19: error: use of undeclared identifier '__builtin_ia32_psubusw128'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:95:19: error: use of undeclared identifier '__builtin_ia32_paddsb256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:101:19: error: use of undeclared identifier '__builtin_ia32_paddsw256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:107:19: error: use of undeclared identifier '__builtin_ia32_paddusb256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:113:19: error: use of undeclared identifier '__builtin_ia32_paddusw256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:631:19: error: use of undeclared identifier '__builtin_ia32_psubsb256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:637:19: error: use of undeclared identifier '__builtin_ia32_psubsw256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:643:19: error: use of undeclared identifier '__builtin_ia32_psubusb256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:649:19: error: use of undeclared identifier '__builtin_ia32_psubusw256'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9319:10: error: use of undeclared identifier '__builtin_ia32_reduce_add_q512'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9323:10: error: use of undeclared identifier '__builtin_ia32_reduce_mul_q512'\n/usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9337:10: error: use of undeclared identifier '__builtin_ia32_reduce_add_q512'\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\n")

On the ubuntu machine I have clang-14 and clang-15 installed. clang maps to clang-14.
If I export CLANG_PATH=/usr/bin/clang-15 the build succeeds. libclang-sys is documented to always use the newest version of libclang that it finds, so the question is how do the clang-14 headers end up being included.

Enabling the logging feature for bindgen gave me the following output:

[2024-03-29T15:08:06Z DEBUG bindgen] Generating bindings, libclang at /usr/lib/x86_64-linux-gnu/libclang-15.so.15.0.7 
[2024-03-29T15:08:06Z DEBUG bindgen] Trying to find clang with flags: ["-DANGLE_DISABLE_POOL_ALLOC", "-DANGLE_ENABLE_APPLE_WORKAROUNDS", "-DANGLE_ENABLE_ESSL", "-DANGLE_ENABLE_GLSL", "-DANGLE_ENABLE_HLSL", "-DANGLE_ENABLE_KEYEDMUTEX", "-DANGLE_ENABLE_SHARE_CONTEXT_LOCK=1", "-DANGLE_PLATFORM_EXPORT=", "-DANGLE_SKIP_DXGI_1_2_CHECK", "-DANGLE_TRANSLATOR_ESSL_ONLY", "-DANGLE_VMA_VERSION=2003000", "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DNOMINMAX", "-DUNICODE", "-DWINVER=0x0A00", "-D_ATL_NO_OPENGL", "-D_CRT_NONSTDC_NO_WARNINGS", "-D_CRT_RAND_S", "-D_CRT_SECURE_NO_DEPRECATE", "-D_HAS_EXCEPTIONS=0", "-D_SCL_SECURE_NO_DEPRECATE", "-D_SECURE_ATL", "-D_UNICODE", "-D_WINSOCK_DEPRECATED_NO_WARNINGS", "-D__NDK_FPABI__=", "-x", "c++", "-std=c++17"]
[2024-03-29T15:08:06Z DEBUG bindgen] Found clang: Clang { path: "/usr/lib/llvm-14/bin/clang", version: Some(CXVersion { Major: 14, Minor: 0, Subminor: 0 }), c_search_paths: None, cpp_search_paths: Some(["/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11", "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11", "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/backward", "/usr/lib/llvm-14/lib/clang/14.0.0/include", "/usr/local/include", "/usr/include/x86_64-linux-gnu", "/usr/include"]) }

So this does seem to be more a bindgen issue

@sagudev
Copy link
Member

sagudev commented Mar 29, 2024

Maybe try different clang version (I use clang 16).

@jschwe
Copy link
Member Author

jschwe commented Apr 4, 2024

I'll close this issue, since it is a bindgen issue (rust-lang/rust-bindgen#2682).
We probably should still keep this in mind, since people will run into this occasionally.

A workaround is running

export CLANG_PATH=/path/to/newest/clang-version

@jschwe jschwe closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants