contrib/rust-bin/README

18 lines
831 B
Plaintext
Raw Normal View History

2023-07-13 23:08:27 +02:00
# rust-bin README
This port is provided as a convenience for users who are interested in
2023-09-20 18:22:12 +02:00
compiling rust code, but are otherwise discouraged by the prospect of
rebuilding a toolchain every six weeks. As a **consumer** of rust code
you will enjoy mostly the same experience using this port as you would
with opt/rust. All you need to do is put the line
2023-07-13 23:08:27 +02:00
rust-bin: rust
2023-09-20 18:22:12 +02:00
into your prt-get aliases file, to ensure that dependency resolution
does not trigger building rust from source.
2023-07-13 23:08:27 +02:00
Caution: if you want to **author** a rust project, and you rely on hints
from an IDE, the absence of binaries in the expected location /usr/libexec
2023-10-06 01:53:12 +02:00
might cause problems. Feel free to create a symlink for:
2023-07-13 23:08:27 +02:00
/usr/lib/rust-analyzer-proc-macro-srv,
because chrpath cannot accomplish the libexec-dir-change that the patches
for opt/rust would do.