Skip to content

Instantly share code, notes, and snippets.

@krishvishal
Last active February 18, 2025 23:50
Show Gist options
  • Select an option

  • Save krishvishal/a20ce595055dde388001cf4d2f82db4d to your computer and use it in GitHub Desktop.

Select an option

Save krishvishal/a20ce595055dde388001cf4d2f82db4d to your computer and use it in GitHub Desktop.

Revisions

  1. krishvishal revised this gist Feb 18, 2025. 1 changed file with 10 additions and 10 deletions.
    20 changes: 10 additions & 10 deletions config.toml
    Original file line number Diff line number Diff line change
    @@ -2,15 +2,15 @@
    rustflags = ["-C", "link-arg=-fuse-ld=lld"]

    [target.x86_64-unknown-linux-gnu]
    linker = "/usr/bin/clang-15"
    ar = "/usr/bin/llvm-ar-15"
    rustflags = ["-C", "link-arg=-fuse-ld=lld-15"]
    linker = "/usr/bin/clang-17"
    ar = "/usr/bin/llvm-ar-17"
    rustflags = ["-C", "link-arg=-fuse-ld=lld-17"]

    [env]
    CC = "/usr/bin/clang-15"
    CXX = "/usr/bin/clang++-15"
    AR = "/usr/bin/llvm-ar-15"
    AS = "/usr/bin/llvm-as-15"
    LD = "/usr/bin/lld-15"
    CFLAGS = "-fuse-ld=lld-15"
    CXXFLAGS = "-fuse-ld=lld-15"
    CC = "/usr/bin/clang-17"
    CXX = "/usr/bin/clang++-17"
    AR = "/usr/bin/llvm-ar-17"
    AS = "/usr/bin/llvm-as-17"
    LD = "/usr/bin/lld-17"
    CFLAGS = "-fuse-ld=lld-17"
    CXXFLAGS = "-fuse-ld=lld-17"
  2. krishvishal created this gist Jan 15, 2025.
    16 changes: 16 additions & 0 deletions config.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    [build]
    rustflags = ["-C", "link-arg=-fuse-ld=lld"]

    [target.x86_64-unknown-linux-gnu]
    linker = "/usr/bin/clang-15"
    ar = "/usr/bin/llvm-ar-15"
    rustflags = ["-C", "link-arg=-fuse-ld=lld-15"]

    [env]
    CC = "/usr/bin/clang-15"
    CXX = "/usr/bin/clang++-15"
    AR = "/usr/bin/llvm-ar-15"
    AS = "/usr/bin/llvm-as-15"
    LD = "/usr/bin/lld-15"
    CFLAGS = "-fuse-ld=lld-15"
    CXXFLAGS = "-fuse-ld=lld-15"