Make native-bluetooth a default feature (#30097)

This features is turned on unconditionally by `./mach build`.
This commit is contained in:
Martin Robinson 2023-08-14 16:44:47 +02:00 committed by GitHub
parent 1d79f5dad2
commit 78c7011240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View file

@ -35,7 +35,7 @@ vergen = { version = "8.0.0", features = [ "git", "gitcl" ]}
[features]
debugmozjs = ["libservo/debugmozjs"]
default = ["webdriver", "max_log_level"]
default = ["max_log_level", "native-bluetooth", "webdriver"]
googlevr = ["libservo/googlevr"]
jitspew = ["libservo/jitspew"]
js_backtrace = ["libservo/js_backtrace"]

View file

@ -28,7 +28,7 @@ cc = "1.0"
[features]
debugmozjs = ["simpleservo/debugmozjs"]
default = ["webdriver", "max_log_level"]
default = ["max_log_level", "native-bluetooth", "webdriver"]
googlevr = ["simpleservo/googlevr"]
js_backtrace = ["simpleservo/js_backtrace"]
max_log_level = ["simpleservo/max_log_level"]

View file

@ -30,7 +30,7 @@ ProductName = "Servo"
[features]
debugmozjs = ["libservo/debugmozjs"]
default = ["webdriver", "max_log_level"]
default = ["max_log_level", "native-bluetooth", "webdriver"]
jitspew = ["libservo/jitspew"]
js_backtrace = ["libservo/js_backtrace"]
max_log_level = ["log/release_max_level_info"]

View file

@ -900,8 +900,6 @@ class CommandBase(object):
if self.config["build"]["debug-mozjs"] or debug_mozjs:
features.append("debugmozjs")
features.append("native-bluetooth")
if with_frame_pointer:
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C force-frame-pointers=yes"
features.append("profilemozjs")