diff --git a/pkgs/hooks_runner/CHANGELOG.md b/pkgs/hooks_runner/CHANGELOG.md index 5686bf072..e2466454c 100644 --- a/pkgs/hooks_runner/CHANGELOG.md +++ b/pkgs/hooks_runner/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.23.2 + +- Add `LIBCLANG_PATH` to the environment variables allowlist. + ## 0.23.1 - Change the length of the checksum used for `outputDirectory` to 10 hexadecimal diff --git a/pkgs/hooks_runner/lib/src/build_runner/build_runner.dart b/pkgs/hooks_runner/lib/src/build_runner/build_runner.dart index 69beeabc6..5efdcd4b5 100644 --- a/pkgs/hooks_runner/lib/src/build_runner/build_runner.dart +++ b/pkgs/hooks_runner/lib/src/build_runner/build_runner.dart @@ -546,6 +546,7 @@ class NativeAssetsBuildRunner { const staticVariablesFilter = { 'ANDROID_HOME', // Needed for the NDK. 'HOME', // Needed to find tools in default install locations. + 'LIBCLANG_PATH', // Needed for Rust's bindgen + clang-sys. 'PATH', // Needed to invoke native tools. 'PROGRAMDATA', // Needed for vswhere.exe. 'SYSTEMDRIVE', // Needed for CMake. diff --git a/pkgs/hooks_runner/pubspec.yaml b/pkgs/hooks_runner/pubspec.yaml index c0d2a9ade..59b1226da 100644 --- a/pkgs/hooks_runner/pubspec.yaml +++ b/pkgs/hooks_runner/pubspec.yaml @@ -2,7 +2,7 @@ name: hooks_runner description: >- This package is the backend that invokes build hooks. -version: 0.23.1 +version: 0.23.2 repository: https://github.com/dart-lang/native/tree/main/pkgs/hooks_runner