mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Fix ./mach build --no-default-features (#35922)
Fix build failures when building without default features. Testing: This was manually tested, but this PR does not add automated tests of `--no-default-features` to CI. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
ec5872992b
commit
25fea1e086
6 changed files with 15 additions and 13 deletions
|
@ -43,6 +43,7 @@ pub trait WindowPortsMethods {
|
|||
fn set_position(&self, _point: DeviceIntPoint) {}
|
||||
fn set_fullscreen(&self, _state: bool) {}
|
||||
fn set_cursor(&self, _cursor: Cursor) {}
|
||||
#[cfg(feature = "webxr")]
|
||||
fn new_glwindow(
|
||||
&self,
|
||||
event_loop: &winit::event_loop::ActiveEventLoop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue