Changeset ed84c580 for general


Ignore:
Timestamp:
09/20/2024 11:10:55 AM (5 days ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
ce271d7
Parents:
e27a800
git-author:
Xi Ruoyao <xry111@…> (09/19/2024 05:26:21 PM)
git-committer:
Xi Ruoyao <xry111@…> (09/20/2024 11:10:55 AM)
Message:

rust: Adapt for LLVM 19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    re27a800 red84c580  
    325325
    326326    <para>
     327      Disable one experimental feature which fails to build with LLVM
     328      19.1 or newer, and remove the tests for it:
     329    </para>
     330
     331        <screen><userinput>sed '/CondBitmap/,/^}/s/LLVM_VERSION.*/&amp; \&amp;\&amp; LLVM_VERSION_LT(19, 0)/' \
     332        -i compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp &amp;&amp;
     333
     334rm -v tests/coverage/mcdc/{cond*,if,inline*,nest*,non_*}.rs</userinput></screen>
     335
     336    <para>
    327337      Compile <application>Rust</application> by running the following
    328338      commands:
     
    361371      in the BLFS <xref linkend='llvm'/> configuration (nor the
    362372      <literal>llvm.targets</literal> in <filename>config.toml</filename>,
    363       in case building with the shipped LLVM).  And, one test named
     373      in case building with the shipped LLVM).  One test named
    364374      <literal>core::config::tests::download_ci_llvm</literal> is known to
    365       fail.
     375      fail.  And, one test named <filename>121444.rs</filename> is known
     376      to fail with LLVM 19.1 or newer because a crash is fixed with the new
     377      LLVM but the Rustc test harness does not have the concept of
     378      unexpected passes.
    366379    </para>
    367380
Note: See TracChangeset for help on using the changeset viewer.