fn addModule(b: *Build, name: []const u8, options: CreateModuleOptions) *Module

This function creates a module and adds it to the package’s module set, making it available to other packages which depend on this one. createModule can be used instead to create a private module.

Parameters

b: *Build,
name: []const u8,