Tags: mozilla/mtu
Tags
feat: Android support (#96) * feat: Android support WIP * Fix * Debug * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Bump version * Again * armv7 * armv7-linux-androideabi * Again * Again * More * ifconfig * Again * Debug * Again * Again * Again * printf * tr * Again * Again * Test * Again * Again * Again * Again * Again * output * Fix test * Debug * test * condition * Again * Fix * Finalize * MSRV
fix(build.rs): use CARGO_CFG_TARGET_OS and target_os android (#81) In a `build.rs` file `cfg(target_os = "linux")` refers to the target OS of the `build.rs` binary. The environment variable `CARGO_CFG_TARGET_OS` refers to the target OS of the final binary. When cross-compiling, the target OS of the `build.rs` binary and the target OS of the final binary are not the same. The `mtu`'s `build.rs` should use `CARGO_CFG_TARGET_OS`. In addition, `cfg(target_os = "linux")` does not include `android`. This commit `cfg`s `linux` and `android` everywhere.
feat: Solaris support (#45) * feat: Solaris support WIP * Fixes * More llvm * `set -e -x` * Again * More * Again * Again * Again * More * Again * Again * Again * Minimize diff * Cleanup * Don't sync `target` back to host * Update src/bsd.rs Co-authored-by: Max Inden <[email protected]> * Suggestions from @mxinden * [email protected] * Fix mozbuild --------- Co-authored-by: Max Inden <[email protected]>
feat: Obtain info via routing sockets (#29) * feat: Obtain info via routing sockets WIP This avoids the need to mess around with sockets. * Fixes * Fixes * Linux * Windows * Fixes * Clippy * Clippy * Update src/bsd.rs Co-authored-by: Martin Thomson <[email protected]> * Try and fix sanitizer issue * Rearrange Windows code * Fixes * Fixes * Omit win_bindings.rs from codecov (again) * Update docs * Read all socket responses to allow socket reuse * Update README * Add .clippy.toml * Update src/windows/mod.rs Co-authored-by: Max Inden <[email protected]> * Drop neli * Cleanups * Nit * Fixes * Fix * Fix * Simplify * Also install llvm-symbolizer for the sanitizer runs * Fixes * Fixes * README * clippy * Tweaks * Misc improvements * ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1 * Suppress * LSAN_OPTIONS * llvm * path * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Again * Update src/linux.rs Co-authored-by: Max Inden <[email protected]> * Use `OwnedFd` * Address code review * BSDs and Windows * ifconfig * env * rmx_filler * Debug * Debug * send * recv * Again * Again * Again * mtu * Fix cloudflare.com v6 address * Undo * rt_metrics * More BSD * RTAX_IFA * All the BSDs are different, sigh * More * codecov * Again * binstall * cargo-llvm-cov * Again * llvm * Minimize conversions * More * Again * Again * Again * Again * Again * More * Again * Again * Linux fix * More * stable * Simplify * More comments * Use bindgen * Address code review * Iterator * Final fixes * Install llvm * Workflow fixes * Hack * Fix? * CI * llvm-16.0.6p30 * netbsd * netbsd * clang * Remove unused code. * More helpers * Tweaks * Fix * Address code review * Update .github/workflows/check.yml Co-authored-by: Martin Thomson <[email protected]> * Update .github/workflows/check.yml Co-authored-by: Martin Thomson <[email protected]> * Update .github/workflows/check.yml Co-authored-by: Martin Thomson <[email protected]> * Update src/bsd.rs Co-authored-by: Martin Thomson <[email protected]> * Update src/linux.rs Co-authored-by: Martin Thomson <[email protected]> * Address first batch of comments from @martinthomson * Suppress shellcheck warning * More suggestions from @martinthomson * Use `std::io::Result` * clippy * Nits * Suggestions from @martinthomson * Fix * Macro * Not Windows --------- Co-authored-by: Martin Thomson <[email protected]> Co-authored-by: Max Inden <[email protected]>
PreviousNext