https://bugzilla.redhat.com/show_bug.cgi?id=2161518



--- Comment #19 from Lumír Balhar <[email protected]> ---
Thank you for your help! It seems that there is a way how to set the flags for
rustc directly via RustExtension class from setuptools_rust. I did that and it
works now. The way I did it is not pretty:

setup(
    rust_extensions=[RustExtension("y_py", args=["--offline"],
rustc_flags="%build_rustflags".split())],
)

But it works now. I'll try to find a better way.

Spec URL: https://lbalhar.fedorapeople.org/python-y-py.spec
SRPM URL: https://lbalhar.fedorapeople.org/python-y-py-0.5.5-1.fc37.src.rpm


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2161518
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to