1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs
Andreas Rammhold 29a8575e3d
buildRustCrate: remove one of the odd library filename cases
It used to be the case (ref missing) that cargo did treat
`src/$libName.rs` as an alternative to `src/lib.rs` when the latter
wasn't present. Recently I failed to reproduce that with vanilla cargo
and it started to cause pain with some crates of the form:

some_crate/
 `- src
   `- main.rs
   `- some_crate.rs

We would build `src/some_crate.rs` and thing it is a library while that
might not be the actual case. This crate is a valid `bin` crate not a
`lib` crate as far as I can tell from the samples I took.

I removed support for the previously required heuristic and commented
out the test cases in case we will need them again. We could crawl in
the Git history but chances are that the next person looking into this
doesn't know about the history.
2020-01-16 13:24:13 +01:00
..
applications wireshark 3.2.0 -> 3.2.1 2020-01-16 08:09:22 +01:00
build-support buildRustCrate: remove one of the odd library filename cases 2020-01-16 13:24:13 +01:00
common-updater
data bibata-cursors: 0.4.1 -> 0.4.2 2020-01-15 11:15:07 -06:00
desktops gnome3.gnome-klotski: 3.34.0 -> 3.34.3 (#77757) 2020-01-15 14:09:19 +01:00
development openssl: don’t separate debug info on useLLVM (#77780) 2020-01-16 10:42:50 +00:00
games mindustry: init at 102 (and updates) (#72306) 2020-01-13 18:01:29 +08:00
misc vscode-extensions.ms-python.python: 2019.10.44104 update language server 2020-01-15 22:31:25 -08:00
os-specific linux: 5.4.11 -> 5.4.12 2020-01-15 09:12:21 -05:00
servers Merge pull request #77326 from aanderse/apacheHttpd 2020-01-15 21:02:05 -05:00
shells zsh-autosuggestions: 0.6.3 -> 0.6.4 2020-01-11 12:51:27 -08:00
stdenv
test
tools Merge pull request #77775 from dtzWill/fix/fpart-musl-fts 2020-01-16 13:15:03 +01:00
top-level csv2odf: init at 2.09 2020-01-15 22:57:21 -08:00