Skip to content
Snippets Groups Projects
  1. Aug 02, 2024
  2. Aug 01, 2024
  3. Jul 31, 2024
    • Steve Lhomme's avatar
      contrib: rust: remove unused --ucrt option · 0119f814
      Steve Lhomme authored
      0119f814
    • Steve Lhomme's avatar
      contrib: rust: allow both MSVCRT and UCRT with windows-gnu* · a5f604ce
      Steve Lhomme authored
      When using a static Rust libstd the linker can pick the runtime it wants.
      It will correspond to the same runtime we use for the rest of the code.
      
      See !5675 (comment 447873)
      
      gnullvm targets most importantly use LLVM libraries and ABI. So libgcc is replaced
      with libunwind, the linker is LLD, it uses native TLS instead of emutls, function
      sections are enabled, and there's probably something else that I forgot. UCRT
      is another difference, but a smaller one since the changes from my previous
      sentence cause builds with GCC/Binutils to break.
      
      windows-gnu targets are built with MSVCRT, but that shouldn't be a big deal as
      long as you stick to the default static std library (in other words, as long as
      you don't use -C prefer-dynamic). I can't guarantee it will always work, but
      t's much better compared to using windows-gnullvm targets, which have a 100%
      chance of failing when using them with GCC/Binutils. Unless you want to migrate
      to LLVM as well (windows-gnullvm targets by default will pick Clang from PATH
      as the linker), but that would be a much bigger change than this PR implies.
      a5f604ce
    • Steve Lhomme's avatar
      contrib: rust: only enable windows-gnullvm with LLVM · 79e07550
      Steve Lhomme authored
      And only windows-gnu when not compiled with LLVM.
      79e07550
    • Steve Lhomme's avatar
      contrib: rust: replace "test ! -z" with "test -n" · 19719525
      Steve Lhomme authored
      It's stricly equivalent and avoids a negative test.
      19719525
    • Steve Lhomme's avatar
      contrib: qt: add the prefix path when building with CMake · c60be60d
      Steve Lhomme authored
      The PATH set in HOSTVARS_CMAKE is not kept when calling CMAKEBUILD.
      We need that path to have access to the "cross compiled" fxc2.
      c60be60d
    • Steve Lhomme's avatar
      contrib: fxc2: fix binary output mode · c8760892
      Steve Lhomme authored
      We need to write in binary mode all the time, or at least in binary output mode.
      c8760892
  4. Jul 30, 2024
  5. Jul 29, 2024
Loading