uweigand opened PR #4101 from isaflag-wasmtime
to main
:
Adds support for s390x to check_compatible_with_isa_flag,
which fixes running the test suite on z15 and later.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Instead of a maze of
#[cfg]
statements here, while you're at it could this be updated to usecfg_if!
?Either that or say above
let mut enabled = None
or something like that. Basically I don't think it's worth it to have lots of negated cfg's to handle this variable.
akirilov-arm submitted PR review.
akirilov-arm created PR review comment:
I think I tried the
let mut enabled = None
approach, which caused the compiler to complain about a value that was written, but not read, hence the current approach.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
With a compiler warning I think it's fine to have a local
#[allow]
for something like this, that's easier to maintain than a complicated#[cfg]
clause
uweigand updated PR #4101 from isaflag-wasmtime
to main
.
uweigand submitted PR review.
uweigand created PR review comment:
OK, updated patch along those lines.
alexcrichton submitted PR review.
alexcrichton merged PR #4101.
Last updated: Dec 23 2024 at 12:05 UTC