https://firefox-source-docs.mozilla.org/testing/geckodriver/Building.html
https://github.com/mozilla/geckodriver
https://hg.mozilla.org/mozilla-central/file/tip/testing/geckodriver
#curl https://hg.mozilla.org/mozilla-central/archive/tip.zip/testing/geckodriver/ > t.zip
curl https://hg.mozilla.org/mozilla-central/archive/tip.zip/testing/ > t.zip
unzip t.zip
curl https://sh.rustup.rs -sSf | sh
apt install gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross
source $HOME/.cargo/env
#Install rustc target toolchain:
rustup target install armv7-unknown-linux-gnueabihf
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
cd testing/geckodriver
cargo build --release --target armv7-unknown-linux-gnueabihf
cp "./mozilla-central-cd7d8aad0306/testing/geckodriver/target/armv7-unknown-linux-gnueabihf/release/geckodriver" ./