Steve Klabnik
Steve Klabnik
Ah that makes sense, and yeah, if I build the no_prelude example, it builds just fine, so that all fits! Given all that, that unsticks me in the moment, but...
I spent some time over a video call with @davidbarsky, who was very helpful in showing me some things, but we weren't able to figure out the root cause. I'd...
Can confirm! Works for me as well. Thanks so much @kcking !
> E.g. what pieces of the Rust toolchain you put on the PATH Just the stuff that rustup does normally, `.cargo/bin`. > how you get clang and which version etc?...
So yes, this still leads to a "clang not found" error: ```python cxx_binary( name = "main", srcs = ["main.cpp"], link_style = "static", ) ``` ```cpp #include int main() { std::cout
Oh, as for installing clang: I usually use `vcpkg`, but for some reason it had issues building, so I used `scoop`, another package manager. All of the llvm tools live...
> Perhaps buck2 should copy how rust searches for the linker on windows That sounds like a reasonable path forward. > (I couldn't find that code after searching for a...
While the "change it to `link`" hack did work for making a rust binary, it falls apart when trying to build a build script, ported over from a cargo project...
It seems like at this point, it *can* find my `clang++`, and #163 is a more general "MSVC issues" issue, so I'm going to close this one in favor of...
> By flash you mean the code blocks being styled? That's the biggest offender, yeah. > I may be wrong, but to me, the most probable cause for this is...