зеркало из https://github.com/mozilla/gecko-dev.git
geckodriver: Remove unneeded --no-default-features flag from readme (#82)
* remove unneeded --no-default-features flag from readme Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: e865a41283b80f4432ce3086b14d2bc3a9e681dc committer: jgraham <james@hoppipolla.co.uk> --HG-- extra : rebase_source : e6255337484980622a5d3e4a5aa9099c5d1259fb
This commit is contained in:
Родитель
0f1cd314d4
Коммит
022ec5712a
|
@ -16,18 +16,14 @@ by acting as a proxy between the local- and remote ends.
|
|||
geckodriver is written in [Rust](https://www.rust-lang.org/)
|
||||
and you need the Rust toolchain to compile it.
|
||||
|
||||
To compile the project for release,
|
||||
ensure you do an optimised build:
|
||||
To build the project for release,
|
||||
ensure you do a compilation with optimisations:
|
||||
|
||||
% cargo build --no-default-features --release
|
||||
% cargo build --release
|
||||
|
||||
If you want to build a debug binary:
|
||||
Or if you want a non-optimised binary for debugging:
|
||||
|
||||
% cargo build --no-default-features
|
||||
|
||||
The `--no-default-features` argument
|
||||
is required to compile on Windows
|
||||
due to the way dependencies need to be compiled.
|
||||
% cargo build
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче