We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef1272 commit 7d62bc9Copy full SHA for 7d62bc9
setuptools_rust/build.py
@@ -72,7 +72,7 @@ def build_extension(self, ext):
72
# Find where to put the temporary build files created by `cargo`
73
metadata_command = ["cargo", "metadata", "--manifest-path", ext.path, "--format-version", "1"]
74
# The decoding is needed for python 3.5 compatibility
75
- metadata = json.loads(check_output(metadata_command).decode())
+ metadata = json.loads(check_output(metadata_command).decode("utf-8"))
76
target_dir = metadata["target_directory"]
77
78
if not os.path.exists(ext.path):
0 commit comments