Changeset d6b169d


Ignore:
Timestamp:
09/19/2023 05:39:33 PM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
5c01736c
Parents:
32ced17
git-author:
Xi Ruoyao <xry111@…> (09/19/2023 02:03:07 PM)
git-committer:
Xi Ruoyao <xry111@…> (09/19/2023 05:39:33 PM)
Message:

rust: Adapt for LLVM 17 and note additional test failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r32ced17 rd6b169d  
    309309EOF</userinput></screen>
    310310
    311 <!--<para>
    312      Adapt rustc to allow it to build and function with the changes in LLVM-9:
    313     </para>
    314 
    315 <screen><userinput remap="pre">patch -Np1 -i ../rustc-&rust-version;-llvm9_fixes-1.patch</userinput></screen>-->
     311    <para>
     312      Adapt rustc to allow it to build and function with the changes in
     313      LLVM-17:
     314    </para>
     315
     316<screen><userinput remap="pre">sed 's/FS,/"", &amp;/'                                        \
     317    -i ./compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp &amp;&amp;
     318sed '/LLVMContext.h/i#include "llvm/ADT/SmallString.h"'   \
     319    -i compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp</userinput></screen>
    316320
    317321    <para>
     
    362366      <computeroutput>note: the full type name has been written
    363367      to</computeroutput>... messages and they can be safely ignored.
     368    </para>
     369
     370    <!-- https://github.com/rust-lang/rust/pull/115869 -->
     371    <para>
     372      The test named <filename>tests/ui/issues/issue-21763.rs</filename>
     373      is known to fail.
     374    </para>
     375
     376    <para>
     377      With LLVM-17, the tests named
     378      <!-- https://github.com/rust-lang/rust/issues/109671 -->
     379      <filename>tests/ui/abi/stack-protector.rs</filename> and
     380      <!-- https://github.com/rust-lang/rust/pull/105545 -->
     381      <filename>tests/ui/dyn-star/llvm-old-style-ptrs.rs</filename> are
     382      known to fail.
    364383    </para>
    365384
Note: See TracChangeset for help on using the changeset viewer.