Skip to content
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

image: Fix powerpc, add a test case for arch mapping #91

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

cgwalters
Copy link
Contributor

I happened to notice while skimming over this that Rust using powerpc
is a strange outlier - the other key arch names AFAICS match the GNU
ones (e.g. s390x, riscv64, x86_64 etc).

Now unfortunately, tests from dependencies aren't usually run
by default by cargo. A major exception here is how Fedora packages
crates and as part of the "build" of a crate the tests are run.

So we will hopefully flush out any un-mapped architectures by that
as well as anyone who actually goes to some effort to run the
dependency tests.

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2022

Codecov Report

Merging #91 (31224d0) into main (b10f910) will increase coverage by 0.09%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
+ Coverage   25.57%   25.67%   +0.09%     
==========================================
  Files          20       20              
  Lines        1482     1488       +6     
  Branches      707      710       +3     
==========================================
+ Hits          379      382       +3     
- Misses        464      466       +2     
- Partials      639      640       +1     

I happened to notice while skimming over this that Rust using `powerpc`
is a strange outlier - the other key arch names AFAICS match the GNU
ones (e.g. `s390x`, `riscv64`, `x86_64` etc).

Now unfortunately, tests from dependencies aren't usually run
by default by `cargo`.  A major exception here is how Fedora packages
crates and as part of the "build" of a crate the tests are run.

So we will hopefully flush out any un-mapped architectures by that
as well as anyone who actually goes to some effort to run the
dependency tests.
@saschagrunert saschagrunert merged commit 1a9f696 into youki-dev:main Jan 17, 2022
This was referenced Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants