message: ci: Use gold linker && optimizing memory use in cargo build
diff: @@ -39,11 +39,15 @@ jobs:
  args: --all-targets
  - name: build
  uses: actions-rs/cargo@v1
  + env:
  + RUSTFLAGS: -Clink-arg=-Wl,--no-keep-memory,-fuse-ld=gold,--no-map-whole-files
  with:
  command: build
  args: --all
  - name: build testbin
  uses: actions-rs/cargo@v1
  + env:
  + RUSTFLAGS: -Clink-arg=-Wl,--no-keep-memory,-fuse-ld=gold,--no-map-whole-files
  with:
  command: test
  args: --all-targets --no-run
  