Skip to content

fix: include build.rs in crates.io package#836

Merged
m-abdelwahab merged 1 commit intomasterfrom
mahmoud/fix-release
Apr 10, 2026
Merged

fix: include build.rs in crates.io package#836
m-abdelwahab merged 1 commit intomasterfrom
mahmoud/fix-release

Conversation

@m-abdelwahab
Copy link
Copy Markdown
Collaborator

@m-abdelwahab m-abdelwahab commented Apr 10, 2026

Summary

  • The include field in Cargo.toml was missing build.rs, so cargo publish verification failed with environment variable BUILD_TARGET not defined at compile time
  • build.rs sets BUILD_TARGET via cargo:rustc-env, which is required by the self-update module

Test plan

  • cargo publish --dry-run passes locally

🤖 Generated with Claude Code

@m-abdelwahab m-abdelwahab added the release/patch Author patch release label Apr 10, 2026
The `include` directive in Cargo.toml excluded `build.rs`, so the
`BUILD_TARGET` env var was never set during `cargo publish` verification,
causing a compile error.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@m-abdelwahab m-abdelwahab merged commit d3c91ee into master Apr 10, 2026
8 checks passed
@m-abdelwahab m-abdelwahab deleted the mahmoud/fix-release branch April 10, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Author patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant