mirror of
https://github.com/ziglang/zig.git
synced 2025-02-16 09:30:17 +00:00
clang works fine
parent
868df1ad87
commit
8037cc3ee5
@ -72,7 +72,7 @@ If using macOS, you may need to include the following to properly use nix's clan
|
|||||||
|
|
||||||
```nix
|
```nix
|
||||||
shellHook = with pkgs.llvmPackages_13; ''
|
shellHook = with pkgs.llvmPackages_13; ''
|
||||||
export CPATH="${libcxx.dev}" # Use libcxx's stdlib
|
export CPATH="${clang}" # Use libcxx's stdlib
|
||||||
export LDFLAGS="-stdlib=libc++ -lc++abi" # Link against the stdlib
|
export LDFLAGS="-stdlib=libc++ -lc++abi" # Link against the stdlib
|
||||||
'';
|
'';
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user