Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.rs: fix Cargo calls #123

Merged
merged 1 commit into from
Dec 4, 2024
Merged

build.rs: fix Cargo calls #123

merged 1 commit into from
Dec 4, 2024

Conversation

sahilnxp
Copy link
Contributor

@sahilnxp sahilnxp commented Dec 4, 2024

Fixed following compilation error

root@evk:~/kryoptic# CONFDIR=/etc cargo build
Compiling kryoptic v0.1.0 (/root/kryoptic)
error: unsupported output in build script of kryoptic v0.1.0 (/root/kryoptic): cargo::rerun-if-changed=pkcs11_headers/3.1/pkcs11.h Found a cargo::key=value build directive which is reserved for future use. Either change the directive to cargo:key=value syntax (note the single :) or upgrade your version of Rust. See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.

There was following compilation error

root@evk:~/kryoptic# CONFDIR=/etc cargo build
   Compiling kryoptic v0.1.0 (/root/kryoptic)
error: unsupported output in build script of `kryoptic v0.1.0 (/root/kryoptic)`: `cargo::rerun-if-changed=pkcs11_headers/3.1/pkcs11.h`
Found a `cargo::key=value` build directive which is reserved for future use.
Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.

Signed-off-by: Sahil Malhotra <[email protected]>
Copy link
Member

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,
thanks a lot!

@simo5 simo5 merged commit 7c61948 into latchset:main Dec 4, 2024
6 checks passed
@sahilnxp sahilnxp deleted the patch-1 branch December 4, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants