pub struct OpteeConfiguration {
pub path: PathBuf,
pub release: bool,
pub offline: bool,
pub linker: Option<String>,
pub ta_dev_kit_dir: PathBuf,
pub optee_signer: PathBuf,
pub ta_uuid: Uuid,
pub sign: bool,
pub workspace: Option<CstiWorkspace>,
}Expand description
All build + signing parameters for an OP-TEE Trusted Application.
Fields§
§path: PathBufPath to the Cargo project root.
release: boolBuild in release mode.
offline: boolPass --offline to cargo: resolve and build from the local registry cache
only. Populate that cache first with csti fetch.
linker: Option<String>Optional explicit linker (e.g. the cross-compiler from the OP-TEE SDK).
ta_dev_kit_dir: PathBufPath to the OP-TEE TA dev-kit directory (TA_DEV_KIT_DIR).
optee_signer: PathBufPath to the OP-TEE signer script (e.g. sign_encrypt.py).
ta_uuid: UuidUUID assigned to this Trusted Application.
sign: boolSign the built ELF into a loadable <uuid>.ta. When false, the build
stops after producing (and verifying) the unsigned ELF and returns that
path — useful when the OP-TEE signer/keys are unavailable and you only
need to check that the TA compiles and links.
workspace: Option<CstiWorkspace>Build-host directories injected as CSTI_* env vars, and the workspace
layout locating target/. None injects nothing and uses the crate’s
own target/.