Browse Source

Update RUSTFLAGS

Matthew Esposito 2 năm trước cách đây
mục cha
commit
05ae39f743
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/main-rust.yml

+ 1 - 1
.github/workflows/main-rust.yml

@@ -33,7 +33,7 @@ jobs:
 
       # Building actions
       - name: Build
-        run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release
+        run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
 
       - name: Calculate SHA512 checksum
         run: sha512sum target/release/libreddit > libreddit.sha512