Learn R Programming

cargo (version 0.1.38)

target: Determine the Rust Build Target

Description

This function tries to determine the appropriate Rust target for this instance of R. Or, it gives the targets necessary for CRAN build machines.

Usage

target(cran = FALSE)

Arguments

cran

Are targets for all CRAN build machines desired?

Value

If cran=FALSE, a string giving a Rust target, or "" if this cannot be determined. If cran=TRUE, a character vector giving the targets necessary for CRAN build machines.

See Also

cross_compile

Examples

Run this code
# NOT RUN {
target()

# }

Run the code above in your browser using DataLab