This implementation looks at the builder of each module in the build graph instead of storing a boolean for each module.
10 lines
128 B
Zig
10 lines
128 B
Zig
const bad = @deprecated(42);
|
|
|
|
pub export fn foo() usize {
|
|
return bad;
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :1:13: error: found deprecated code
|