Skip to content

Commit 85a5d14

Browse files
[hooks_runner] Add LIBCLANG_PATH to environment variable allowlist (#2713)
1 parent e87549d commit 85a5d14

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

pkgs/hooks_runner/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.23.2
2+
3+
- Add `LIBCLANG_PATH` to the environment variables allowlist.
4+
15
## 0.23.1
26

37
- Change the length of the checksum used for `outputDirectory` to 10 hexadecimal

pkgs/hooks_runner/lib/src/build_runner/build_runner.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ class NativeAssetsBuildRunner {
546546
const staticVariablesFilter = {
547547
'ANDROID_HOME', // Needed for the NDK.
548548
'HOME', // Needed to find tools in default install locations.
549+
'LIBCLANG_PATH', // Needed for Rust's bindgen + clang-sys.
549550
'PATH', // Needed to invoke native tools.
550551
'PROGRAMDATA', // Needed for vswhere.exe.
551552
'SYSTEMDRIVE', // Needed for CMake.

pkgs/hooks_runner/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: hooks_runner
22
description: >-
33
This package is the backend that invokes build hooks.
44
5-
version: 0.23.1
5+
version: 0.23.2
66

77
repository: https://github.com/dart-lang/native/tree/main/pkgs/hooks_runner
88

0 commit comments

Comments
 (0)