-
Notifications
You must be signed in to change notification settings - Fork 13k
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
WIP: Refactor timespec, add regression tests #128998
base: master
Are you sure you want to change the base?
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
My plan is to:
This initial draft PR is because tests are passing on |
Ah, you desire our magic powers. BEHOLD: |
WIP: Refactor timespec, add regression tests try-job: wasm32-unknown-unknown try-job: x86_64-pc-windows-msvc try-job: x86_64-unknown-linux-gnu
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
You need to use the name of CI jobs, rather than the names of targets. For a list see https://github.com/rust-lang/rust/blob/master/src/ci/github-actions/jobs.yml. Note that Linux is tested in the PR CI already (by x86_64-gnu-llvm-17). So for msvc it'd be |
So, observe that error. That means you're going to want to use, for try-jobs, our build/test job names instead of the target tuple names. We don't have a CI job per target tuple because we often want to have one builder build the distribution binaries for many related tuples. Thus, we translate:
|
...obviously I lost initiative there because I spent time on formatting out a nice table. |
... You may also be interested in (if you think these can be affected):
|
... also I realize three of us are providing suggestions but none of us are actually helping to try... so we should actually help try again |
WIP: Refactor timespec, add regression tests try-job: test-various try-job: dist-various-1 try-job: x86_64-msvc try-job: i686-mingw
☀️ Try build successful - checks-actions |
Eventually I will. The way I plan to refactor, I really only need one currently "unsupported" target platform and, given it was |
@heaths does this still need to be a draft? if you are ready for a review, you can mark it as »ready for review« and also do a |
@Dylan-DPC I apologize. I think it's still a WIP because my intent was to effectively copy the design of all the working platform implementation except for Thus, this was a test to make sure my solution - which duplicates the code (unnecessarily sans the above rule) - actually works before I start replicating it across all the platform-specific implementations that naively use a Given this passed, I can go ahead and start replicating this to all the other platforms but it'd be nice if I was given an exception for putting this in |
Please just make a new |
@workingjubilee and then just import that into all the broken platform implementations at least (those using |
@heaths I don't understand what you mean? Please examine the structure of modules like |
try-job: test-various
try-job: dist-various-1
try-job: x86_64-msvc
try-job: i686-mingw