summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-01-16 12:51:47 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-01-16 13:24:13 +0100
commit29a8575e3d5cad041e58643a58d6b1c79079b8e5 (patch)
treecf77c96241e81ee1b1ae78c5a4f5070f405da338 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentacca4bcbe583d7c4a990d6563c0e3aa607466ec4 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions