ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
hoppetosse has joined #zig
hoppetosse has quit [Ping timeout: 240 seconds]
davr0s has joined #zig
<jacobdufault>
Why is os.File.write accessible in example/hello_world/hello.zig? It is not declared `pub`
<andrewrk>
jacobdufault, there's an open issue for that
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
defenestrator has joined #zig
<defenestrator>
Is there a way or are there plans for a way to have a convenience for unwrap nullable types with a "for"? I've been doing a lot of "for (array) |nullt| { if (nullt) |t| { do_something(t); } }" and it might be nice to have for skip the nulls and give me an unwrapped type somehow (e.g. for (array) |??t|) or something
davr0s has quit [Ping timeout: 240 seconds]
noonien has joined #zig
<andrewrk>
defenestrator, did you see that you can do it with a while?
<defenestrator>
I did. I liked the automatic iteration of an array with the for loop, but I'll see how it looks with the while. Thanks!
<andrewrk>
MajorLag, llvm 6 was tagged this morning. I'm building it for windows to get set up with appveyor
<hoppetosse>
andrewrk: can you build it with EXPERIMENTALTRGETS=WebAssembly?
<hoppetosse>
hoppetosse: I reread the gist, the only big thing I've left out is what I thought it was... you have to 1) build llvm from http://prereleases.llvm.org/6.0.0/ adding the DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly to CMake
<hoppetosse>
2017-11-02
<andrewrk>
hoppetosse, oh, great idea. I'll do that and restart the build when I get home from work