Skip to content

Commit

Permalink
debug windows
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Jul 20, 2022
1 parent d3d8287 commit 61fda33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setuptools_rust/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def build_extension(
)
)
if len(artifacts) == 0:
print(os.path.abspath(ext.path))
raise DistutilsExecError(
"Rust build failed; unable to find any build artifacts"
)
Expand Down Expand Up @@ -808,6 +809,7 @@ def _find_cargo_artifacts(
['/file/two/baz.rlib']
"""
for message in cargo_messages:
print(message)
# only bother parsing messages that look like a match
if (
"compiler-artifact" in message
Expand Down

0 comments on commit 61fda33

Please sign in to comment.