Commit Graph

2 Commits

Author SHA1 Message Date
Daniël de Kok
313177129b python3Packages.setuptools-rust: fix passthru test
The build wanted to create a Cargo.lock in the top-level source
directory (presumably because it is also a Cargo project), since we
were crating the lock file in sourceRoot (which was set to the example
project). This failed because the sources are read-only. Change the
test to create the lock file in the top-level crate directory, which
is Cargo's default behavior.
2021-03-20 08:38:28 +01:00
Daniël de Kok
3bdae33948 python3Packages.setuptools-rust: add passthru test that uses maturinBuildHook
The test builds the PyO3 word_count example module using
setuptools-rust. The motivation is to have a trivial test that does
not regress for reasons unrelated to setuptools-rust or hook updates.
2021-02-18 09:32:03 +01:00