diff --git a/.ignore b/.ignore index f10e171d3172..a66bf215742f 100644 --- a/.ignore +++ b/.ignore @@ -1,6 +1,7 @@ # Output generated from src/doc/man # # The goal is to help people find the right file to edit +src/cargo/core/compiler/fingerprint/dep-lib-cargo_test_macro src/doc/man/generated_txt src/doc/src/commands/* src/etc/man diff --git a/src/cargo/core/compiler/fingerprint/dep-lib-cargo_test_macro b/src/cargo/core/compiler/fingerprint/dep-lib-cargo_test_macro new file mode 100644 index 000000000000..ed3bd89441c9 Binary files /dev/null and b/src/cargo/core/compiler/fingerprint/dep-lib-cargo_test_macro differ diff --git a/src/cargo/core/compiler/fingerprint/dep_info.rs b/src/cargo/core/compiler/fingerprint/dep_info.rs index 35cb322d2f22..aefd608fcddb 100644 --- a/src/cargo/core/compiler/fingerprint/dep_info.rs +++ b/src/cargo/core/compiler/fingerprint/dep_info.rs @@ -667,4 +667,11 @@ mod encoded_dep_info { fn round_trip_with_checksums() { gen_test(true); } + + #[test] + #[cfg_attr(target_os = "linux", ignore = "OOM on Linux")] + fn parse_v0_fingerprint_dep_info() { + let data = include_bytes!("dep-lib-cargo_test_macro"); + dbg!(EncodedDepInfo::parse(&data[..]).is_none()); + } }