Changeset 35cfc2e


Ignore:
Timestamp:
07/27/2024 09:33:38 AM (7 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
6bc97f24
Parents:
c0f934f0
Message:

Update to rustc-1.80.0

I have to handle some nasty "strange rebuild" issues in x.py test and
x.py install... I hope they can fix them for 1.81.0.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    rc0f934f0 r35cfc2e  
    239239# and updated it to follow the major changes of the building system,
    240240# so x.py will not warn us to do such a review.
    241 change-id = 123711
     241change-id = 125535
    242242
    243243[llvm]
     
    335335
    336336<screen remap="test"><userinput>SSL_CERT_DIR=/etc/ssl/certs \
    337 python3 x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen>
    338 
    339     <!-- highlighting.rs:
    340          may be fixed by
    341          https://github.com/rust-lang/rust/pull/124398 ?
    342          it seems harmless anyway
    343 
    344          issue-21763.rs:
    345          https://github.com/rust-lang/rust/pull/115869, see my comment
    346 
    347          regression-bad-location-list-67992.rs: rust bug or gdb bug ????
    348 
    349          2024-06-14: Test result is clean with 1.79.0
    350     <para>
    351       Three tests, <filename>tests/ui/error-emitter/highlighting.rs</filename>,
    352       <filename>tests/ui/issues/issue-21763.rs</filename>, and
    353       <filename>tests/debuginfo/regression-bad-location-list-67992.rs</filename>,
    354       are known to fail.
    355     </para> -->
     337python3 x.py test --verbose --no-fail-fast --keep-stage-std=1 | \
     338    tee rustc-testlog</userinput></screen>
     339
     340    <!-- Both "unused import: `std::io::BufRead`"
     341         Test suite internal issues and the unused imports are removed in
     342         https://github.com/rust-lang/rust/pull/126097.  -->
     343    <para>
     344      Two tests named <filename>tests/run-make/print-cfg</filename> and
     345      <filename>tests/run-make/print-to-output</filename> are known to fail.
     346    </para>
    356347
    357348<!-- Let's just comment this out.  Nobody has tested on a system w/o
     
    416407
    417408<screen role='root'><userinput>python3 x.py install rustc std &amp;&amp;
    418 python3 x.py install --stage=1 cargo clippy rustfmt</userinput></screen>
     409install -vm755 \
     410  build/host/stage1-tools/*/*/{cargo{,-clippy,-fmt},clippy-driver,rustfmt} \
     411  /opt/rustc-&rust-version;/bin &amp;&amp;</userinput>
     412install -vDm644 \
     413  src/tools/cargo/src/etc/_cargo \
     414  /opt/rustc-&rust-version;/share/zsh/site-functions/_cargo &amp;&amp;
     415install -vm644 src/tools/cargo/src/etc/man/* \
     416  /opt/rustc-1.80.0/share/man/man1</screen>
    419417
    420418    <para>
     
    537535    </para>
    538536
    539     <!-- https://github.com/rust-lang/rust/issues/94147 -->
    540     <para>
    541       <parameter>--stage=1</parameter>: this switch works around an issue
     537    <para>
     538      <parameter>--keep-stage-std 1</parameter>: this switch prevents
     539      <command>x.py test</command> from rebuilding the entire package for
     540      some unknown reason.
     541    </para>
     542
     543    <!-- https://github.com/rust-lang/rust/issues/94147
     544         Do a manual installation for these 5 binaries for 1.80.0, the
     545         build system insists to rebuild them even with this.
     546    <para>
     547      <parameter>- -stage=1</parameter>: this switch works around an issue
    542548      causing some Rustc components unnecessarily rebuilt running
    543549      <command>python3 x.py install</command>.
     550    </para>-->
     551
     552    <para>
     553      <command>install ... /opt/rustc-&rust-version;/...</command>:
     554      these commands explicitly installs some Rust components.  They are
     555      used instead of relying on <command>x.py install</command> because the
     556      latter would rebuild these components for some unknown reason.
    544557    </para>
    545558
  • introduction/welcome/changelog.xml

    rc0f934f0 r35cfc2e  
    3939    </listitem>
    4040    -->
     41    <listitem>
     42      <para>July 27th, 2024</para>
     43      <itemizedlist>
     44        <listitem>
     45          <para>[xry111] - Update to rustc-1.79.0.  Fixes
     46          <ulink url="&blfs-ticket-root;20145">#20145</ulink>.</para>
     47        </listitem>
     48      </itemizedlist>
     49    </listitem>
     50
    4151    <listitem>
    4252      <para>July 26th, 2024</para>
  • packages.ent

    rc0f934f0 r35cfc2e  
    378378<!ENTITY ruby-version                 "&ruby-minor-version;.&ruby-patch-version;">
    379379<!ENTITY ruby-gemdir                  "/usr/lib/ruby/gems/&ruby-minor-version;.0">
    380 <!ENTITY rust-version                 "1.79.0">
     380<!ENTITY rust-version                 "1.80.0">
    381381<!ENTITY rust-bindgen-version         "0.69.4">
    382382<!ENTITY scons-version                "4.8.0">
Note: See TracChangeset for help on using the changeset viewer.