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

chore: Declare ci_run flag in build.rs #386

Merged
merged 1 commit into from
Jun 6, 2024
Merged

chore: Declare ci_run flag in build.rs #386

merged 1 commit into from
Jun 6, 2024

Conversation

aborgna-q
Copy link
Collaborator

Rust 1.80 will require pre-declaring configuration flags that we want to set via RUSTFLAGS.
See the blog post.

Fixes #383

@aborgna-q aborgna-q requested a review from doug-q June 6, 2024 10:19
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.32%. Comparing base (50ee0fa) to head (69d39ef).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #386   +/-   ##
=======================================
  Coverage   83.32%   83.32%           
=======================================
  Files          48       48           
  Lines        5042     5042           
  Branches     4591     4591           
=======================================
  Hits         4201     4201           
  Misses        654      654           
  Partials      187      187           
Flag Coverage Δ
python 97.33% <ø> (ø)
rust 81.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Contributor

@doug-q doug-q left a comment

Choose a reason for hiding this comment

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

💥

@aborgna-q aborgna-q added this pull request to the merge queue Jun 6, 2024
Merged via the queue into main with commit 70d18ae Jun 6, 2024
16 checks passed
@aborgna-q aborgna-q deleted the ab/ci_run_attr branch June 6, 2024 11:03
github-merge-queue bot pushed a commit that referenced this pull request Jul 25, 2024
Rust 1.80 [just
dropped](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html), adding
a lint option that allows us to avoid the `build.rs` definition added in
#386.
(The nightly lint got updated before hitting beta, so there shouldn't be
compatibility problems there).
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.

Deal with "unexpected cfg condition name: ci_run
2 participants