public class ConfigBasedUnresolvedRustPlatform extends Object implements UnresolvedRustPlatform
UnresolvedRustPlatform
based on .buckconfig values.Modifier and Type | Method and Description |
---|---|
Flavor |
getFlavor() |
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration)
Returns the parse-time deps required for this platform.
|
com.facebook.buck.features.rust.RustPlatform |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration)
Resolves the platform.
|
public com.facebook.buck.features.rust.RustPlatform resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
UnresolvedRustPlatform
resolve
in interface UnresolvedRustPlatform
public Flavor getFlavor()
getFlavor
in interface FlavorConvertible
getFlavor
in interface UnresolvedRustPlatform
public Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
UnresolvedRustPlatform
getParseTimeDeps
in interface UnresolvedRustPlatform