Servo is a prototype web browser engine written in the Rust language. It is currently developed on 64-bit macOS, 64-bit Linux, 64-bit Windows, and Android.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

76 lines
2.7 KiB

  1. # Copy this file to .servobuild in the Servo root directory
  2. # Paths starting with "./" are relative to the repo root
  3. # Tool options
  4. [tools]
  5. # If use-rustup is set to false, mach will run for example "cargo build"
  6. # instead of "rustup run --install <toolchain> cargo build"
  7. # It is then the user’s responsibility to ensure that cargo and especially rustc
  8. # in $PATH are versions compatible with Servo.
  9. use-rustup = true
  10. # If rustc-with-gold is true, will try to find and use gold linker with rustc.
  11. # Defaults to true
  12. rustc-with-gold = true
  13. # If uncommented, this command is used instead of the platform’s default
  14. # to notify at the end of a compilation that took a long time.
  15. # This is the name or path of an executable called with two arguments:
  16. # the summary and content of the notification.
  17. #notify-command = "notify-send"
  18. [build]
  19. # Set "mode = dev" or use `mach build --dev` to build the project with warning.
  20. # or Set "mode = release" or use `mach build --release` for optimized build.
  21. # Defaults to prompting before building
  22. #mode = "dev"
  23. # Set "android = true" or use `mach build --android` to build the Android app.
  24. android = false
  25. # Enable `debug_assert!` macros in release mode
  26. debug-assertions = false
  27. # Set "debug-mozjs" or use `mach build --debug-mozjs` to build a debug spidermonkey.
  28. debug-mozjs = false
  29. # When a GL error occurs as a result of a WebGL operation, print the stack trace for the content
  30. # JS and native Rust code that triggered the failed operation. Warning: very slow.
  31. webgl-backtrace = false
  32. # When a DOM exception is reported, print the stack trace for the content JS and native Rust code
  33. # that triggered it.
  34. dom-backtrace = false
  35. # Default to the “2020” implementation of CSS layout instead of the “2013” one.
  36. layout-2020 = false
  37. # Pick a media stack based on the target. Other values are "gstreamer" and "dummy"
  38. media-stack = "auto"
  39. # Set to the path to your ccache binary to enable caching of compiler outputs
  40. #ccache = "/usr/local/bin/ccache"
  41. # Any optional flags that will be added to $RUSTFLAGS
  42. #rustflags = ""
  43. # Enable or disable rustc’s incremental compilation
  44. # Cargo’s default is to enable it in debug mode but not in release mode.
  45. # Leaving this key unspecified makes mach keep Cargo’s default.
  46. # It can be set to true or false in order to always enable or always disable
  47. # incremental compilation.
  48. #incremental = false
  49. #incremental = true
  50. # Whether to use ThinLTO or not
  51. #thinlto = false
  52. # Android information
  53. [android]
  54. # Defaults to the value of $ANDROID_SDK, $ANDROID_NDK, $ANDROID_TOOLCHAIN, $ANDROID_PLATFORM respectively
  55. #sdk = "/opt/android-sdk"
  56. #ndk = "/opt/android-ndk"
  57. #toolchain = "/opt/android-toolchain"
  58. #platform = "android-18"