Skip to content

Conversation

tony84727
Copy link
Contributor

@tony84727 tony84727 commented Jun 14, 2022

building static-linked runtimetest requires additional RUSTFLAGS env
var. Unfortunately, the additional env var invalids the build cache,
leading cargo rebuilding everytime.

See rust-lang/cargo#8716

A temporary solution is to build runtimetest in a seperate
runtimetest-target directory.

Signed-off-by: Tony Duan tony84727@gmail.com

building static-linked runtimetest requires additional RUSTFLAGS env
var. Unfortunately, the additional env var invalids the build cache,
leading cargo rebuilding everytime.

See rust-lang/cargo#8716

A temporary solution is to build runtimetest in a seperate
`runtimetest-target` directory.

Signed-off-by: Tony Duan <tony84727@gmail.com>
@tony84727 tony84727 force-pushed the chore/build-cache branch from b7447a9 to 6e8f869 Compare June 14, 2022 15:33
@utam0k
Copy link
Member

utam0k commented Jun 15, 2022

Thanks @tony84727 @saschagrunert

@utam0k utam0k merged commit a43ed22 into youki-dev:main Jun 15, 2022
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.

3 participants