-
Notifications
You must be signed in to change notification settings - Fork 9
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
x86_64-pc-windows-msvc build failing: expected src/lib.rs
to start with:
#10
Comments
I believe this depends on the setting of git's |
Yeah, but still not nice. |
For sure! Just leaving that detail since I couldn't replicate it locally before messing with that setting. |
I don't understand why the official Git installer suggests Quick check so we know whether a republish is needed: $ cd $(mktemp -d) # (optional: switching to a fresh temp dir)
$ cargo new foo
Created binary (application) `foo` package
$ cd foo
$ cargo add rustc_apfloat
Updating crates.io index
Adding rustc_apfloat v0.2.0 to dependencies.
Updating crates.io index
$ cargo check
Compiling rustc_apfloat v0.2.0+llvm-462a31f5a5ab
Checking smallvec v1.11.0
Checking bitflags v1.3.2
Checking foo v0.1.0 (/tmp/tmp.t2YVLdMuNl/foo)
Finished dev [unoptimized + debuginfo] target(s) in 0.74s @klensy can you try doing this on your system and seeing if it fails as well? |
@eddyb No fail in that case. |
Thanks! So that shouldn't stop anyone from using the crate as a dependency, it only impacts manual checkouts of the repo (we should still fix it ofc, just less scary than the alternative). |
IIRC some old Visual Studio versions didn't work when project files (not source code) had LF end of line character. Why the installer still selects worst possible option remains a mystery. Maybe it would be enough to add notice to README saying this project will not build with misconfigured Git? |
building 2ced82c failed:
Probably line ending mismatch?
Reproduce: clone master branch, build with cargo build on
x86_64-pc-windows-msvc
.The text was updated successfully, but these errors were encountered: