-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Custom libdir breaks std crate #45345
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Its gone if I manually adds |
It's looks like it was broken #44107 where script was stopped to set |
I've tried to set Line 415 in 77ab3a1
It fixed this issue but gets error with building rust docs on |
It works on 1.20 but start to breaks at 1.21 and later. |
Looks like rustdoc here searches libraries in
while stage1 libraries are in
|
Command which failed:
Looks like either should be used custom |
I'm not really clear on what team this is. Maybe @rust-lang/docs (rustdoc bug?) anyway, I guess there's a pending fix. |
I recall a similar bug I fixed a while ago. Strange it's reappearing... |
Fix 45345 There is a fix for #45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups.
commit 6cf081c8c54e92702f350fa30d77561540324401 (from 6eff103aa1f93cbc07b1e5684e695635993c9752) Merge: 6eff103aa1f9 472f4e1cc8c3 Author: bors <bors@rust-lang.org> Date: Sat Jan 13 05:02:04 2018 +0000 Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton Fix 45345 There is a fix for rust-lang/rust#45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups. Gbp-Pq: Name u-rust-pr46592-bootstrap-libdir.patch
commit 6cf081c8c54e92702f350fa30d77561540324401 (from 6eff103aa1f93cbc07b1e5684e695635993c9752) Merge: 6eff103aa1f9 472f4e1cc8c3 Author: bors <bors@rust-lang.org> Date: Sat Jan 13 05:02:04 2018 +0000 Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton Fix 45345 There is a fix for rust-lang/rust#45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups. Gbp-Pq: Name u-rust-pr46592-bootstrap-libdir.patch
commit 6cf081c8c54e92702f350fa30d77561540324401 (from 6eff103aa1f93cbc07b1e5684e695635993c9752) Merge: 6eff103aa1f9 472f4e1cc8c3 Author: bors <bors@rust-lang.org> Date: Sat Jan 13 05:02:04 2018 +0000 Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton Fix 45345 There is a fix for rust-lang/rust#45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups. Gbp-Pq: Name u-rust-pr46592-bootstrap-libdir.patch
commit 6cf081c8c54e92702f350fa30d77561540324401 (from 6eff103aa1f93cbc07b1e5684e695635993c9752) Merge: 6eff103aa1f9 472f4e1cc8c3 Author: bors <bors@rust-lang.org> Date: Sat Jan 13 05:02:04 2018 +0000 Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton Fix 45345 There is a fix for rust-lang/rust#45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups. Gbp-Pq: Name u-rust-pr46592-bootstrap-libdir.patch
commit 6cf081c8c54e92702f350fa30d77561540324401 (from 6eff103aa1f93cbc07b1e5684e695635993c9752) Merge: 6eff103aa1f9 472f4e1cc8c3 Author: bors <bors@rust-lang.org> Date: Sat Jan 13 05:02:04 2018 +0000 Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton Fix 45345 There is a fix for rust-lang/rust#45345 It re-introduces `CFG_LIBDIR_RELATIVE` which was broken when migration from `configure` script to `x.py`. Other commits fix errors which happen after rustbuild cleanups. Gbp-Pq: Name u-rust-pr46592-bootstrap-libdir.patch
I maintain live-ebuild for dev channel. To avoid collision between different rust channels
libdir
should be set to different subdirectory: gentoo/gentoo-rust#287It worked with
configure
script but was broken after moving tox.py
script.config.toml
file:Compiling hello world project:
If I set
libdir
tolib64
then rustc works.rustc --version --verbose
:The text was updated successfully, but these errors were encountered: