linker/test: add #[track_caller] to without_header_eq.

This commit is contained in:
Eduard-Mihai Burtescu 2022-11-17 23:49:18 +02:00 committed by Eduard-Mihai Burtescu
parent eea44854a7
commit fb393a9566

View File

@ -138,6 +138,7 @@ fn assemble_and_link(binaries: &[&[u8]]) -> Result<Module, PrettyString> {
.map_err(PrettyString)
}
#[track_caller]
fn without_header_eq(mut result: Module, expected: &str) {
use rspirv::binary::Disassemble;
//use rspirv::binary::Assemble;