mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
Fix the native-bluetooth feature on macOS builds. Enable the native-bluetooth by default. Testing: Added --features native-bluetooth to GH actions so the build will fail if something is wrong. Don't know why it was not enabled previously, please let me know if it is ok to leave the feature enabled. Fixes: https://github.com/servo/servo/issues/37454 As for the numerous such warnings ``` warning: unexpected `cfg` condition value: `cargo-clippy` --> third_party/blurmac/src/framework.rs:480:43 | 480 | let uuidstring: *mut Object = msg_send![cbuuid, UUIDString]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: no expected values for `feature` = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) ``` that macOS builds generates (mentioned [here](https://github.com/servo/servo/pull/37439)) I found this: https://github.com/SSheldon/rust-objc/issues/125. Also, in general the `objc` crate seems to be stale and people are forking it, so maybe I should start a Zulip conversation about migrating to something like this https://github.com/madsmtm/objc2? --------- Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com> |
||
---|---|---|
.. | ||
blurmac | ||
mozdebug | ||
ply | ||
WebIDL |