Skip to content

Shnatsel/rust-http-clients-smoke-test

Repository files navigation

rust-http-clients-smoke-test

To build with Address Sanitizer, run

env RUSTFLAGS="-Z sanitizer=address" cargo +nightly build --target x86_64-unknown-linux-gnu --release

To build with debug assertions and overflow checks, run

env RUSTFLAGS="-C debug-assertions -C overflow-checks" cargo build --release

To build with all of the above, run

env RUSTFLAGS="-Z sanitizer=address -C debug-assertions -C overflow-checks" cargo +nightly build --target x86_64-unknown-linux-gnu --release

Run the test for an individual client with:

mkdir success failure
cut -d , -f 2 ~/top-1m.csv | grep --only-matching -E '[a-zA-Z0-9.-]+' | parallel -j 50 ~/rust-http-clients-smoke-test/fetch-one-url.sh "$PATH_TO_BINARY_UNDER_TEST"

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published