termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.3k stars 3.06k forks source link

[Package]: rust-src #15500

Closed mokurin000 closed 1 year ago

mokurin000 commented 1 year ago

Why do you want to add this package to Termux?

rust std source code, which is required by evcxr_repl users should append 'export RUST_SRC_PATH' to their shell rc.

Home page URL

No response

Source code URL

https://static.rust-lang.org/dist/rustc-$TERMUX_PKG_VERSION-src.tar.xz

Packaging policy acknowledgement

Additional information

No response

sk0kanik commented 1 year ago

Isn't included in rustc package? export RUST_SRC_PATH=$PREFIX/lib/rustlib/src work?

mokurin000 commented 1 year ago

sorry for not checking ~/../lib/rustlib..