Skip to content

Conversation

@davidhewitt
Copy link
Member

Closes #229

Added a check whether the inferred target is the rust host, and if so, skip passing --target.

I did a little bit of refactoring at the same time;

  • merged private and utils into a _utils module, shuffled a couple of functions around
  • moved functions which query rustc for metadata into a new setuptools_rust.rustc_info module and added @cache decorator to all of these (as we expect rustc to give stable output)

@davidhewitt davidhewitt force-pushed the default-target branch 2 times, most recently from 52e8229 to dccb720 Compare July 1, 2022 17:56
@davidhewitt davidhewitt merged commit 3f97179 into PyO3:main Jul 1, 2022
@davidhewitt davidhewitt deleted the default-target branch July 1, 2022 19:19
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.

Allow to build without specifying a target triple

1 participant