Function validateUserInputDidItFail [src]
Prototype
pub fn validateUserInputDidItFail(b: *Build) bool
Parameters
b: *Build
Source
pub fn validateUserInputDidItFail(b: *Build) bool {
// Make sure all args are used.
var it = b.user_input_options.iterator();
while (it.next()) |entry| {
if (!entry.value_ptr.used) {
log.err("invalid option: -D{s}", .{entry.key_ptr.*});
b.markInvalidUserInput();
}
}
return b.invalid_user_input;
}