Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
shell: bash
if: contains(matrix.rust, 'i686')

- name: Enable collapse_debuginfo based on version
run: echo RUSTFLAGS="--cfg dbginfo=\"collapsible\" $RUSTFLAGS" >> $GITHUB_ENV
shell: bash
if: contains(matrix.rust, 'nightly') || contains(matrix.rust, 'beta')

- run: cargo build
- run: cargo test
- run: cargo test --features "serialize-serde"
Expand Down
2 changes: 2 additions & 0 deletions tests/accuracy/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(dbginfo = "collapsible")]
mod auxiliary;

macro_rules! pos {
Expand All @@ -6,6 +7,7 @@ macro_rules! pos {
};
}

#[collapse_debuginfo(yes)]
macro_rules! check {
($($pos:expr),*) => ({
verify(&[$($pos,)* pos!()]);
Expand Down