You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by yu...@apache.org on 2023/04/15 11:34:55 UTC
[incubator-teaclave-trustzone-sdk] branch master updated: Add "links" field to Cargo.toml for teec and utee (#107)
This is an automated email from the ASF dual-hosted git repository.
yuanz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
The following commit(s) were added to refs/heads/master by this push:
new 9eb7ff8 Add "links" field to Cargo.toml for teec and utee (#107)
9eb7ff8 is described below
commit 9eb7ff8eb883e15f32410d4424149a699b0964c3
Author: Tom Hebb <to...@gmail.com>
AuthorDate: Sat Apr 15 07:34:51 2023 -0400
Add "links" field to Cargo.toml for teec and utee (#107)
This lets dependents with their own way of linking to libteec and/or
libutee override our build script if they so choose. See the
documentation at [1].
[1] https://doc.rust-lang.org/cargo/reference/build-scripts.html#overriding-build-scripts
---
optee-teec/optee-teec-sys/Cargo.toml | 1 +
optee-utee/optee-utee-sys/Cargo.toml | 1 +
2 files changed, 2 insertions(+)
diff --git a/optee-teec/optee-teec-sys/Cargo.toml b/optee-teec/optee-teec-sys/Cargo.toml
index c8b3573..665ade6 100644
--- a/optee-teec/optee-teec-sys/Cargo.toml
+++ b/optee-teec/optee-teec-sys/Cargo.toml
@@ -23,6 +23,7 @@ license = "Apache-2.0"
repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
description = "Native bindings to the libteec library."
edition = "2018"
+links = "teec"
[dependencies]
libc = "0.2.48"
diff --git a/optee-utee/optee-utee-sys/Cargo.toml b/optee-utee/optee-utee-sys/Cargo.toml
index 5f0cc71..2e6bdcb 100644
--- a/optee-utee/optee-utee-sys/Cargo.toml
+++ b/optee-utee/optee-utee-sys/Cargo.toml
@@ -23,6 +23,7 @@ license = "Apache-2.0"
repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
description = "Native bindings to the libutee library."
edition = "2018"
+links = "utee"
[dependencies]
libc = { path = "../../rust/libc", version = "=0.2.99" }
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org