Steve Klabnik
Steve Klabnik
Catching up on this, very cool to see all this activity! ``` thread 'main' panicked at 'PROTOC not available for platform Error { os: "illumos", arch: "x86_64" }, set $BUCK2_BUILD_PROTOC...
Check this out: https://github.com/facebook/buck2/issues/141#issuecomment-1504650390
> I'll personally add a full MSVC example when all support is done and tested. If I can do anything to assist, please help me know!
As an update to my MSVC workarounds, my "hello world" works with this patch: ```diff diff --git a/toolchains/rust.bzl b/toolchains/rust.bzl index 9315fce..cd8b790 100644 --- a/toolchains/rust.bzl +++ b/toolchains/rust.bzl @@ -23,7 +23,7 @@...
Glad to see this default change! I am still running into some odd MSVC issues that are surfacing now that I'm doing even slightly more complex projects. When using @dtolnay's...
With @dtolnay's latest work landing in the prelude, I can now build even non-trivial Rust projects with MSVC-flavored Rust. Woo!
> If you're using Visual Studios environment (which is usually the case for MSVC) Yeah, just to rephrase what you said, it's not on the path of shells by default,...
> Ah, this really sucks, you actually want `@toolchains//buildscript.bzl` Ah ha! I get a different error now, but totally unrelated from the import. This fixes the immediate error. And the...
> Is clang++ on your windows path, or only your mingw/shell path? I don't use mingw, I use native Windows. The above is in my normal shell (nushell), but also...
> Basically Windows support in Buck2 is quite limited right now, especially in OSS version, but we're working on improving it. Totally understand, that's partly why I'm poking at it,...