Package com.facebook.buck.features.rust
Interface RustCommonArgs
-
- All Superinterfaces:
BuildRuleArg
,ConstructorArg
,DataTransferObject
,HasDeclaredDeps
,HasDefaultPlatform
,HasNamedDeclaredDeps
,HasSrcs
- All Known Implementing Classes:
RustBinaryDescriptionArg
,RustLibraryDescriptionArg
,RustTestDescriptionArg
public interface RustCommonArgs extends BuildRuleArg, HasNamedDeclaredDeps, HasSrcs, HasDefaultPlatform
-
-
Field Summary
-
Fields inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
DEFAULT_TARGET_PLATFORM_PARAM_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<String>
getCrate()
Optional<String>
getCrateRoot()
Optional<String>
getEdition()
com.google.common.collect.ImmutableSortedMap<String,StringWithMacros>
getEnv()
com.google.common.collect.ImmutableSortedSet<String>
getFeatures()
com.google.common.collect.ImmutableSortedMap<SourcePath,String>
getMappedSrcs()
default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>>
getPlatformDeps()
com.google.common.collect.ImmutableList<StringWithMacros>
getRustcFlags()
-
Methods inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
getCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOf
-
Methods inherited from interface com.facebook.buck.core.description.arg.ConstructorArg
getName
-
Methods inherited from interface com.facebook.buck.core.description.arg.HasDeclaredDeps
getDeps
-
Methods inherited from interface com.facebook.buck.core.description.arg.HasDefaultPlatform
getDefaultPlatform
-
Methods inherited from interface com.facebook.buck.features.rust.HasNamedDeclaredDeps
getNamedDeps
-
-
-
-
Method Detail
-
getMappedSrcs
@NaturalOrder com.google.common.collect.ImmutableSortedMap<SourcePath,String> getMappedSrcs()
-
getEnv
@NaturalOrder com.google.common.collect.ImmutableSortedMap<String,StringWithMacros> getEnv()
-
getFeatures
@NaturalOrder com.google.common.collect.ImmutableSortedSet<String> getFeatures()
-
getRustcFlags
com.google.common.collect.ImmutableList<StringWithMacros> getRustcFlags()
-
getPlatformDeps
@Default default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
-
-