message: ci: run Rust build in release mode too
diff: @@ -531,10 +531,13 @@ jobs:
  rustfmt --version
  cargo fmt --all -- --check
  - run:
  - name: Build
  + name: Build (debug mode)
  command: cargo build
  - run:
  - name: Test
  + name: Build (release mode)
  + command: cargo build --release
  + - run:
  + name: Test (debug mode)
  command: cargo test
  - run:
  name: Package
  @@ -556,10 +559,10 @@ jobs:
  apt -yq install llvm-8-dev clang-8 --no-install-recommends
  rustup toolchain install nightly-x86_64-unknown-linux-gnu
  - run:
  - name: Build
  + name: Build (debug mode)
  command: RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS=detect_leaks=1 cargo +nightly build --target x86_64-unknown-linux-gnu
  - run:
  - name: Test
  + name: Test (debug mode)
  command: RUSTFLAGS="-Z sanitizer=address -C opt-level=0" ASAN_OPTIONS=detect_leaks=1 cargo +nightly test --target x86_64-unknown-linux-gnu
  workflows:
  