Jiahao XU

Results 1312 comments of Jiahao XU

The code looks ok, would need more info on the environment to know what's going on.

cc doesn't link anything by default though, only compiles an object and archive it

Hmmm normally clang does work with ar Could this be under influence of -flto (we were talking about only enable -flto for -Clinker-plugin-lto)

Yes, that's what I'm working on at the moment in #1564

That part is from the compiler detection bit though. Maybe we could add some context to it?

Yeah maybe we should do something like log does then? That's the best I can think of to reduce unwanted info

It seems that you have questions regarding bindgen not cc, did you open the issue at the wrong repo?

Thanks! I would appreciate if you can submit a PR for the fix

Unfortunately it might break users cross compiling from unix to windows, as find-msvc-tools support using env var to find msvc env. find-msvc-tools disable most of its windows-only code on unix,...

You can try using `--timings` to see which crate has blocked compilation, splitting out find-msvc-tools from cc improves compilation time since it enables find-msvc-tools codegen to be done in parallel...