-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PGO on Windows-GNU #49409
Comments
Hi, I was also struggling with that! :) So |
I've tried to do as you say, but perhaps I am doing something wrong. I've created a binary project with cargo (just the hello world), then I've set the variable:
Then I've compiled:
It gives me:
|
Hm, I'm not sure what is going on there now (I also can't reproduce since not a windows user), sorry :/ |
Using:
Calling rustc directly gives:
|
GNU toolchain is built without profiler: https://github.com/rust-lang/rust/blob/9a612b2348212d84fa0b839a4c18e4a13fafaf05/appveyor.yml |
I wonder if we could just enable the profiler on |
I think I can find time this week to test it. |
Status update: |
Ship profiler with windows-gnu Fixes rust-lang#49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: rust-lang#59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
Ship profiler with windows-gnu Fixes rust-lang#49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: rust-lang#59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
Ship profiler with windows-gnu Fixes rust-lang#49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: rust-lang#59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
Ship profiler with windows-gnu Fixes rust-lang#49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: rust-lang#59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
Ship profiler with windows-gnu Fixes rust-lang#49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: rust-lang#59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
Ship profiler with windows-gnu Fixes #49409 I don't know if we can enable it for testing, windows-gnu jobs are already taking too long: #59637. r? @michaelwoerister P.S. I have tested only x86_64 build.
I am trying to see if -Z pgo-gen is available on Windows-Gnu:
#48346
I am using:
I am using a very small Rust test program:
If I compile with:
It gives me:
If I compile with (using a random string?):
It gives me:
The text was updated successfully, but these errors were encountered: