Skip to content

Conversation

@tarcieri
Copy link
Member

This feature was originally added for local testing purposes, but greatly complicates interactions with additional crates like
crypto-bigint which are gated entirely on the target's word size.

The testing workflow this provided can still be accomplished using a tool like cross by testing against a 32-bit target:

$ cross test --target powerpc-unknown-linux-gnu --release --all-features

Bonus points for testing against a big endian target to ensure there aren't any endian-related bugs as well.

Breaking change in that it removes a feature.

This feature was originally added for local testing purposes, but
greatly complicates interactions with additional crates like
`crypto-bigint` which are gated entirely on the target's word size.

The testing workflow this provided can still be accomplished using a
tool like `cross` by testing against a 32-bit target:

```
$ cross test --target powerpc-unknown-linux-gnu --release --all-features
```

Bonus points for testing against a big endian target to ensure there
aren't any endian-related bugs as well.

Breaking change in that it removes a feature.
@tarcieri tarcieri requested a review from fjarri August 30, 2021 22:35
@@ -1,3 +1,3 @@
target
tests/Cargo.lock
**/Cargo.lock
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One annoying thing about cross is it leaves behind a Cargo.lock file in the crate's directory (and for that matter, doesn't use the existing crate resolution) but this change at least prevents them from being checked in.

@codecov-commenter
Copy link

codecov-commenter commented Aug 30, 2021

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 54.90%. Comparing base (31fcf1a) to head (4f3048c).
Report is 693 commits behind head on master.

Files with missing lines Patch % Lines
k256/src/arithmetic/scalar.rs 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
- Coverage   59.44%   54.90%   -4.55%     
==========================================
  Files          29       29              
  Lines        4207     4207              
==========================================
- Hits         2501     2310     -191     
- Misses       1706     1897     +191     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri tarcieri merged commit b6c77bc into master Aug 30, 2021
@tarcieri tarcieri deleted the k256/remove-force-32-bit-feature branch August 30, 2021 23:22
This was referenced Dec 14, 2021
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