Skip to content

Build: Simplify assembly pregeneration mechanism. - #1271

Merged
briansmith merged 2 commits into
mainfrom
b/pregenerate-asm
May 3, 2021
Merged

briansmith merged 2 commits into
mainfrom
b/pregenerate-asm

Conversation

@briansmith

Copy link
Copy Markdown
Owner

This is a prerequisite for automating more of the symbol prefixing work in #1268.

This doesn't tell Cargo about environment variables used by cc-rs and
the like, but it is a step in the right direction.
@briansmith briansmith self-assigned this May 3, 2021
Eliminate the extra Cargo.toml that was used just for this feature. It was
too error-prone to keep it in sync with the real Cargo.toml. Having one
Cargo.toml will allow us to reliably use the `CARGO_MANIFEST_LINKS` value
to keep the symbol prefix in sync with the `links` field in Cargo.toml in
the near future.
@briansmith
briansmith force-pushed the b/pregenerate-asm branch from 7289eb4 to d888196 Compare May 3, 2021 20:03
@codecov

codecov Bot commented May 3, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #1271 (d888196) into main (0df1844) will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1271      +/-   ##
==========================================
- Coverage   93.14%   93.12%   -0.02%     
==========================================
  Files         116      116              
  Lines       18097    18097              
  Branches      195      195              
==========================================
- Hits        16856    16853       -3     
- Misses       1207     1209       +2     
- Partials       34       35       +1     
Impacted Files Coverage Δ
src/lib.rs 95.45% <ø> (ø)
crypto/cpu-intel.c 67.21% <0.00%> (-3.28%) ⬇️
src/aead/aes.rs 82.37% <0.00%> (-0.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0df1844...d888196. Read the comment docs.

@briansmith
briansmith merged commit badca90 into main May 3, 2021
@briansmith
briansmith deleted the b/pregenerate-asm branch May 3, 2021 20:36
Comment thread src/lib.rs
//! requiring these hacks, and without requiring a C compiler.)
//! </table>

// When running mk/package.sh, don't actuall build any code.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

actually

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.

2 participants