-
Notifications
You must be signed in to change notification settings - Fork 196
Be #1472
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
Open
WorksButNotTested
wants to merge
6
commits into
bytecodealliance:main
Choose a base branch
from
WorksButNotTested:be
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Be #1472
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fe7df76
Changes to build for armeb-unknown-linux-gnueabi
WorksButNotTested 51ca942
Changes to build for aarch64_be-unknown-linux-gnu
WorksButNotTested af25722
Pin version of parking_lot when running on MSRV
WorksButNotTested 712420d
Pin version of lock_api when running on MSRV
WorksButNotTested dd88487
Enable STDXX_FILENO constants in test configuration
WorksButNotTested 80864c1
Add checks to CI for armeb-unknown-linux-gnueabi and aarch64_be-unkno…
WorksButNotTested File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,11 +286,11 @@ pub(crate) const SIGSYS: c_int = linux_raw_sys::general::SIGSYS as _; | |
))] | ||
pub(crate) const SIGEMT: c_int = linux_raw_sys::general::SIGEMT as _; | ||
|
||
#[cfg(feature = "stdio")] | ||
#[cfg(any(test, feature = "stdio"))] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
pub(crate) const STDIN_FILENO: c_int = linux_raw_sys::general::STDIN_FILENO as _; | ||
#[cfg(feature = "stdio")] | ||
#[cfg(any(test, feature = "stdio"))] | ||
pub(crate) const STDOUT_FILENO: c_int = linux_raw_sys::general::STDOUT_FILENO as _; | ||
#[cfg(feature = "stdio")] | ||
#[cfg(any(test, feature = "stdio"))] | ||
pub(crate) const STDERR_FILENO: c_int = linux_raw_sys::general::STDERR_FILENO as _; | ||
|
||
pub(crate) const PIPE_BUF: usize = linux_raw_sys::general::PIPE_BUF as _; | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will make it impossible to do a semver incompatible release of rustix as there is no tempfile version that has a semver compatible dependency on rustix yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really see a good solution to this problem. I guess the real problem is that there is a cyclic dependency, but the two projects are both under separate ownership. The only clean solution I can see is to remove that dependency and trty to find an alternative crate. The change is outside the scope of my original PR really, I just wanted to try and get the CI working to ensure I didn't introduce any regressions. But it seems unfortunately that new releases of other crates change the result of the CI. Happy to take advice on how to proceed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One option would be to keep the big-endian CI disabled for now and only enable it once there is a new rustix release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tempfile's use of rustix is not part of rustix's testsuite. We don't need to make tempfile's version of rustix match the version of rustix using tempfile for tests. They can differ and it's fine.