Building Rust without Python? #15

Closed
opened 2024-01-02 21:00:13 +00:00 by emma · 9 comments
Owner

God why in the fuck does Rust require Python to build‽ Dear lord we should investigate patching it to remove the hard Python dep ;-;

God why in the fuck does Rust require Python to build‽ Dear lord we should investigate patching it to remove the hard Python dep ;-;
emma added a new dependency 2024-01-02 21:00:26 +00:00
Author
Owner
A lead: https://github.com/thepowersgang/mrustc
Author
Owner

python3 (required for building llvm in rustc)

:agony:

> python3 (required for building llvm in rustc) :agony:
Author
Owner

Regrettably, it looks like we will probably end up having to move Python to core

Regrettably, it looks like we will probably end up having to move Python to core
Author
Owner

Maybe someday we can use gccrs. We’re switching to clang/llvm for now but once bindgen has a gcc backend we can switch back to gcc and ditch clang entirely.

Maybe someday we can use [gccrs](https://github.com/Rust-GCC/gccrs). We’re switching to clang/llvm for now but once [bindgen has a gcc backend](https://github.com/rust-lang/rust-bindgen/issues/1949) we can switch back to gcc and ditch clang entirely.
emma closed this issue 2024-01-29 16:51:10 +00:00
Owner

Could this work?: https://rustpython.github.io/

Could this work?: https://rustpython.github.io/
Author
Owner

Could this work?: https://rustpython.github.io/

This will not help, it is a Python implementation.

> Could this work?: https://rustpython.github.io/ This will not help, it is a Python implementation.
Owner

I was wondering if we could use this as our Python implementation - it might simplify things to have Rust dependency also be written in Rust.

I was wondering if we could use this as our Python implementation - it might simplify things to have Rust dependency also be written in Rust.
Author
Owner

I was wondering if we could use this as our Python implementation - it might simplify things to have Rust dependency also be written in Rust.

I’m not too certain how that simplifies things. Could you elaborate?

> I was wondering if we could use this as our Python implementation - it might simplify things to have Rust dependency also be written in Rust. I’m not too certain how that simplifies things. Could you elaborate?
Owner

Hmm. Forgot this is a kiss repo so it'll be cake either way. Never mind...

Hmm. Forgot this is a kiss repo so it'll be cake either way. Never mind...
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Blocks
Reference: bonsai/repo#15
No description provided.