withCargoTarget

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
interface RustAppResource {
// ... omitted for brevity
withCargoTarget(target: string): RustAppResource;
}

Signature

methodwithCargoTargetbuilder
Configures the target triple cargo builds for.
withCargoTarget(target: string): RustAppResource
targetstringThe target triple, for example `x86_64-unknown-linux-musl`.
RustAppResource

Applies to

This method applies to the following types: