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

Crate Always Rebuilds #1

Closed
tustvold opened this issue Jan 4, 2023 · 1 comment · Fixed by #2
Closed

Crate Always Rebuilds #1

tustvold opened this issue Jan 4, 2023 · 1 comment · Fixed by #2

Comments

@tustvold
Copy link

tustvold commented Jan 4, 2023

This crate appears to always need to be rebuilt, including anything that holds a transitive dependency on it such as multiversion.

Creating a test binary with just the following

[package]
name = "test-target-features"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
target-features = "0.1.1"

Running cargo build will always show

   Compiling target-features v0.1.1
   Compiling test-target-features v0.1.0 (/home/raphael/repos/external/test-target-features)
    Finished dev [unoptimized + debuginfo] target(s) in 0.21s

This is pretty catastrophic for test iteration times, as every recompilation requires recompiling an entire tree of dependent crates.

@calebzulawski
Copy link
Owner

Whoops! Fixed in 0.1.2

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 a pull request may close this issue.

2 participants