Skip to content

Commit ace6215

Browse files
authored
[bugfix] Reference os variable instead of os function (#630)
on toolchain/internal/common.bzl:121, we referenced the `os` function instead of the local `_os` variable, which made my local build throw stacktraces on toolchain_llvm v1.5.0 (was ok in v1.4.0). I no longer have stacktraces with this fix locally present..
1 parent a667b97 commit ace6215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/internal/common.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def host_info(rctx):
118118
if _os == "linux" and not rctx.attr.exec_os:
119119
dist_name, dist_version = _linux_dist(rctx)
120120
else:
121-
dist_name = os
121+
dist_name = _os
122122
dist_version = ""
123123
return struct(
124124
arch = _arch,

0 commit comments

Comments
 (0)