-
Notifications
You must be signed in to change notification settings - Fork 135
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
is rerun_file necessary? #139
Comments
So it's really that final note we're applying here -- the build script's own source is the only thing that needs to trigger rerunning itself, at least for It doesn't really matter when depending on this crate, as none of the crate sources will ever be modified, but it's useful in development to reduce the build time. |
Thank you so much for the explanation! Our project is now using
After we enable a rustc flag
|
Oh, I never thought about |
That will be great! Thank you! Could I submit a PR? |
Sure, a PR is welcome. We should do this across all num crates, and adjust the example given in |
I'm glad to help with all of them :-) |
116: Compatible with cargo --remap-path-prefix r=cuviper a=dingelish As discussed in [num-traits issue 139](rust-num/num-traits#139). Co-authored-by: Yu Ding <dingelish@gmail.com>
67: Compatible with cargo --remap-path-prefix r=cuviper a=dingelish As discussed in [num-traits issue 139](rust-num/num-traits#139). Co-authored-by: Yu Ding <dingelish@gmail.com>
27: Compatible with cargo --remap-path-prefix r=cuviper a=dingelish As discussed in [num-traits issue 139](rust-num/num-traits#139). Co-authored-by: Yu Ding <dingelish@gmail.com>
60: Compatible with cargo --remap-path-prefix r=cuviper a=dingelish As discussed in [num-traits issue 139](rust-num/num-traits#139). Co-authored-by: Yu Ding <dingelish@gmail.com>
12: Compatible with cargo --remap-path-prefix r=cuviper a=dingelish As discussed in [num-traits issue 139](rust-num/num-traits#139). Co-authored-by: Yu Ding <dingelish@gmail.com>
num-traits/build.rs
Line 13 in 2f0cffd
Hi there,
I'm really curious how
rerun_path(file!());
works. I've never seen it works. When do we need it? Thanks!The text was updated successfully, but these errors were encountered: