Changeset c87567a for general/prog


Ignore:
Timestamp:
03/06/2024 11:16:38 PM (8 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
ken/TL2024, trunk, xry111/llvm18
Children:
f91b7bb
Parents:
670ac4fc
Message:

rust: Adapt for LLVM 18 and note additional test failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r670ac4fc rc87567a  
    340340    </note>
    341341
     342    <!-- https://github.com/rust-lang/rust/pull/116672 -->
     343    <para>
     344      If building with system <xref linkend='llvm'/>,
     345      adapt rustc to allow it to build and function with the changes in
     346      LLVM-18:
     347    </para>
     348
     349<screen><userinput remap="pre">sed 's/f[0-9][0-9]:/i128:128-&amp;/' \
     350    -i compiler/rustc_target/src/spec/targets/{i?86,x86_64}*.rs &amp;&amp;
     351sed '/static_assert_size!\((Lit|MetaItemLit|BasicBlockData|Terminator)/d' \
     352    -ri compiler/{rustc_ast/src/ast.rs,rustc_middle/src/mir/mod.rs}</userinput></screen>
     353
    342354    <para>
    343355      Compile <application>Rust</application> by running the following
     
    377389      <filename>tests/debuginfo/regression-bad-location-list-67992.rs</filename>,
    378390      are known to fail.
     391    </para>
     392
     393    <para>
     394      With LLVM-18, two codegen tests named
     395      <!-- https://github.com/rust-lang/rust/pull/119523 -->
     396      <filename>abi-main-signature-32bit-c-int.rs</filename> and
     397      <!-- Don't know why yet ??? -->
     398      <filename>slice-reverse.rs</filename> are
     399      known to fail.
    379400    </para>
    380401
     
    468489
    469490  <sect2 role="commands">
    470     <title>Command Explanations</title>                 
     491    <title>Command Explanations</title>
    471492
    472493    <para>
     
    605626      <segtitle>Installed Directories</segtitle>
    606627
    607       <seglistitem>                     
     628      <seglistitem>
    608629        <seg>
    609630          cargo-clippy, cargo-fmt, cargo, clippy-driver, rust-gdb,
Note: See TracChangeset for help on using the changeset viewer.