We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7c1de commit 9ca9f5dCopy full SHA for 9ca9f5d
.github/workflows/main.yml
@@ -55,6 +55,11 @@ jobs:
55
shell: bash
56
if: contains(matrix.rust, 'i686')
57
58
+ - name: Enable collapse_debuginfo based on version
59
+ run: echo RUSTFLAGS="--cfg dbginfo=\"collapsible\" $RUSTFLAGS" >> $GITHUB_ENV
60
+ shell: bash
61
+ if: contains(matrix.rust, 'nightly') || contains(matrix.rust, 'beta')
62
+
63
- run: cargo build
64
- run: cargo test
65
- run: cargo test --features "serialize-serde"
tests/accuracy/main.rs
@@ -1,3 +1,4 @@
1
+#![cfg(dbginfo = "collapsible")]
2
mod auxiliary;
3
4
macro_rules! pos {
@@ -6,6 +7,7 @@ macro_rules! pos {
6
7
};
8
}
9
10
+#[collapse_debuginfo(yes)]
11
macro_rules! check {
12
($($pos:expr),*) => ({
13
verify(&[$($pos,)* pos!()]);
0 commit comments