aboutsummaryrefslogtreecommitdiffstats
path: root/third_party/WebIDL/tests/test_constructor.py
diff options
context:
space:
mode:
authorJonathan Schwender <55576758+jschwe@users.noreply.github.com>2024-06-15 00:38:53 +0200
committerGitHub <noreply@github.com>2024-06-14 22:38:53 +0000
commit19067366df28c9131dcbc436bc96a27e64e0a194 (patch)
treed09fbdccfecdf6631b3887317c64e6d67e431d2b /third_party/WebIDL/tests/test_constructor.py
parent33701464900ef00dc9a11a0304b753b8ae66464e (diff)
downloadservo-19067366df28c9131dcbc436bc96a27e64e0a194.tar.gz
servo-19067366df28c9131dcbc436bc96a27e64e0a194.zip
Fix cross-compiling servoshell on Mac hosts (#32504)
`#[cfg(target_os = "xxx")]` when used in build scripts checks which platform the **build script** is compiled for - i.e. the Host OS. Since ware interested in the actual target os, we need to read `CARGO_CFG_TARGET_OS`, a value that is set at **runtime of the build script**. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'third_party/WebIDL/tests/test_constructor.py')
0 files changed, 0 insertions, 0 deletions