public class RustBuckConfig extends Object
Constructor and Description |
---|
RustBuckConfig(BuckConfig delegate) |
Modifier and Type | Method and Description |
---|---|
Optional<Path> |
getAppleDeveloperDirIfSet() |
Optional<Path> |
getAppleXcrunPath() |
com.google.common.collect.ImmutableList<String> |
getLinkerFlags(String platform) |
Optional<LinkerProvider.Type> |
getLinkerPlatform(String platform) |
com.google.common.collect.ImmutableList<String> |
getRustcBinaryFlags(String platform)
Get rustc flags for rust_binary() rules.
|
com.google.common.collect.ImmutableList<String> |
getRustcCheckFlags(String platform)
Get rustc flags for #check flavored builds.
|
com.google.common.collect.ImmutableList<String> |
getRustcLibraryFlags(String platform)
Get rustc flags for rust_library() rules.
|
Optional<ToolProvider> |
getRustCompiler(String platform) |
com.google.common.collect.ImmutableList<String> |
getRustcTestFlags(String platform)
Get rustc flags for rust_test() rules.
|
Optional<ToolProvider> |
getRustLinker(String platform) |
public RustBuckConfig(BuckConfig delegate)
public Optional<ToolProvider> getRustCompiler(String platform)
public com.google.common.collect.ImmutableList<String> getRustcLibraryFlags(String platform)
public com.google.common.collect.ImmutableList<String> getRustcBinaryFlags(String platform)
public com.google.common.collect.ImmutableList<String> getRustcTestFlags(String platform)
public com.google.common.collect.ImmutableList<String> getRustcCheckFlags(String platform)
public Optional<ToolProvider> getRustLinker(String platform)
public Optional<LinkerProvider.Type> getLinkerPlatform(String platform)
public com.google.common.collect.ImmutableList<String> getLinkerFlags(String platform)