зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #5934 - Add instructions for building with --release (from mbrubeck:readme); r=pcwalton
Source-Repo: https://github.com/servo/servo Source-Revision: 89f90d930d172366d72fdd9f3363c80a5a56f552
This commit is contained in:
Родитель
bd50a8bf0d
Коммит
29662094f7
|
@ -81,6 +81,15 @@ cd servo
|
|||
./mach run tests/html/about-mozilla.html
|
||||
```
|
||||
|
||||
By default, Servo builds in debug mode. This is useful for development, but
|
||||
the resulting binary is very slow. For benchmarking, performance testing, or
|
||||
real-world use, add the `--release` flag to create an optimized build:
|
||||
|
||||
``` sh
|
||||
./mach build --release
|
||||
./mach run --release tests/html/about-mozilla.html
|
||||
```
|
||||
|
||||
### Building for Android target
|
||||
|
||||
``` sh
|
||||
|
|
Загрузка…
Ссылка в новой задаче