-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Strange behavior with PyPy in 0.10 prerelease #478
Comments
|
Sounds like |
I've tested it in https://github.com/messense/pyrus-cramjam/runs/2228798334?check_suite_focus=true , it seems fine. 😱 |
Also causing issues in CPython builds for
Strangely, if I run the above with a locally built (debug) version of maturin (tag diff --git a/src/target.rs b/src/target.rs
index f875c44..4b6623e 100644
--- a/src/target.rs
+++ b/src/target.rs
@@ -107,6 +107,9 @@ impl Target {
(Os::Windows, Arch::Armv7L) => bail!("armv7l is not supported for Windows"),
(_, _) => {}
}
+
+ println!("Created target: {:?} {:?}, {:?}: {:?}", os, arch, platform.target_env, platform.target_triple);
+
Ok(Target {
os,
arch,
Also works with |
Yep, Compiling maturin for musl (as done when building the pip wheels) and then checking the platform returns musl, not gnu.
Looks like the fix mentioned will work then |
Please provide the following information:
python -V
): PyPy 7.3.3 with Python (3.6.12)pip -V
):pyo3
,rust-cpython
orcffi
): pyo3cargo build
work? I think so/
)?Please list the exact steps required to reproduce your error with all command output and if possible with a repository:
maturin-0.10.0b6 , https://github.com/milesgranger/pyrus-cramjam/runs/2218894957?check_suite_focus=true errored with
It's strange that
--target x86_64-unknown-linux-musl
is passed tocargo rustc
, it works fine with maturin 0.9.4The text was updated successfully, but these errors were encountered: