$ ln -s ../../.githooks/pre-commit .git/hooks
nixpkgs.overlays = [
(import (builtins.fetchGit {
url = "https://github.com/mozilla/nixpkgs-mozilla.git";
ref = "master";
}))
];
Add pkgs.latest.rustChannels.nightly.rust
to packages.
nix-shell -p
when building.
See https://rustup.rs/.
$ rustup install nightly
$ rustup default nightly
$ cargo test -- --nocapture
$ cargo test && cargo test --no-default-features && cargo test --features 'no-crypto' && cargo test --no-default-features --features 'no-crypto' && cargo test --features 'test-approvals' && cargo test --no-default-features --features 'test-approvals' && cargo test --features 'no-crypto, test-approvals' && cargo test --no-default-features --features 'no-crypto, test-approvals'
$ cd std-tester && cargo run
$ cargo doc --release --no-deps && rm -rf docs/api && mv target/doc docs/api
GNU LGPL v3.0