Lines Matching refs:compiler
117 compiler compiler member
154 return mod.sanitize != nil && mod.compiler != nil
158 if mod.compiler != nil {
159 return mod.compiler.isDependencyRoot()
165 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
174 if mod.sourceProvider != nil && (mod.compiler == nil || mod.compiler.Disabled()) {
192 if mod.compiler != nil {
193 if _, ok := mod.compiler.(libraryInterface); ok {
201 if mod.compiler != nil {
202 if library, ok := mod.compiler.(libraryInterface); ok {
210 if mod.compiler != nil {
211 if library, ok := mod.compiler.(libraryInterface); ok {
219 if mod.compiler != nil {
220 if library, ok := mod.compiler.(libraryInterface); ok {
228 if mod.compiler != nil {
229 if library, ok := mod.compiler.(libraryInterface); ok {
237 if mod.compiler != nil {
238 if _, ok := mod.compiler.(*binaryDecorator); ok {
251 if mod.compiler != nil {
252 if _, ok := mod.compiler.(libraryInterface); ok {
264 if mod.compiler != nil {
265 return mod.compiler.relativeInstallPath()
399 type compiler interface { interface
533 return mod.compiler.crateName()
537 if mod.compiler != nil {
538 if _, ok := mod.compiler.(*libraryDecorator); ok {
546 if mod.compiler != nil {
549 if lib, ok := mod.compiler.(libraryInterface); ok && (lib.buildShared() || lib.buildStatic()) {
557 if mod.compiler != nil {
558 if library, ok := mod.compiler.(*libraryDecorator); ok {
566 if mod.compiler != nil {
567 if library, ok := mod.compiler.(libraryInterface); ok {
576 if mod.compiler != nil {
577 if library, ok := mod.compiler.(libraryInterface); ok {
586 if mod.compiler != nil {
587 if library, ok := mod.compiler.(libraryInterface); ok {
595 if mod.compiler != nil {
596 if library, ok := mod.compiler.(libraryInterface); ok {
608 if mod.compiler != nil && mod.compiler.strippedOutputFilePath().Valid() {
609 return mod.compiler.strippedOutputFilePath()
615 if mod.compiler != nil {
637 if mod.compiler != nil {
638 mod.AddProperties(mod.compiler.compilerProps()...)
731 return mod.compiler != nil && mod.compiler.nativeCoverage()
735 return mod.compiler != nil &&
737 mod.compiler.everInstallable()
788 if mod.compiler != nil {
789 flags = mod.compiler.compilerFlags(ctx, flags)
807 if mod.compiler.(libraryInterface).source() {
812 sourceLib := sourceMod.(*Module).compiler.(*libraryDecorator)
817 if mod.compiler != nil && !mod.compiler.Disabled() {
818 mod.compiler.initialize(ctx)
819 unstrippedOutputFile := mod.compiler.compile(ctx, flags, deps)
821 bloaty.MeasureSizeForPaths(ctx, mod.compiler.strippedOutputFilePath(), mod.unstrippedOutputFile)
823 mod.docTimestampFile = mod.compiler.rustdoc(ctx, flags, deps)
827 mod.compiler.install(ctx)
835 if mod.compiler != nil {
836 deps = mod.compiler.compilerDeps(ctx, deps)
941 dylib, ok := rustDep.compiler.(libraryInterface)
950 rlib, ok := rustDep.compiler.(libraryInterface)
996 if lib, ok := mod.compiler.(exportedFlagsProducer); ok {
1069 if lib, ok := mod.compiler.(exportedFlagsProducer); ok && exportDep {
1143 if mod.compiler == nil {
1146 return mod.compiler.inData()
1162 if mod.compiler.stdLinkage(ctx) == RlibLinkage {
1167 if lib, ok := mod.compiler.(libraryInterface); !ok || !lib.sysroot() {
1181 if deps.Rustlibs != nil && !mod.compiler.Disabled() {
1182 autoDep := mod.compiler.(autoDeppable).autoDep(ctx)
1194 if mod.compiler.stdLinkage(ctx) == RlibLinkage {
1251 if p, ok := mod.compiler.(interface {
1271 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1344 if mod.compiler != nil {
1345 if lib, ok := mod.compiler.(*libraryDecorator); ok && (lib.shared() || lib.dylib()) {
1348 if _, ok := mod.compiler.(*binaryDecorator); ok {