How to do it...

Follow the steps to implement the build of the Servo project:

  1. Open the Terminal, and clone the Servo project from GitHub:
      git clone https://github.com/servo/servo
  1. Enter the project, and build the browser in the development mode:
      cd servo
./mach build --dev
  1. To ensure that the project is built correctly, run a small test:
      ./mach run tests/html/about-mozilla.html
  1. For benchmarking, performance testing, and other real-world scenarios, add the --release flag to create an optimized build:
      ./mach build --release
./mach run --release tests/html/about-mozilla.html
  1. For running a website in the Servo project, use the following code:
      ./mach run [url] 
ex: ./mach run https://www.google.com
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.245.1