Remove the WebXR dependency on ancient time@0.1 crate (#32862)

`webxr` depends on a very old verison of `time`, which allowed serializing
monotonic clock output. This isn't possible on all platforms, so newer
versions of `time` do not allow this. In order to stop using the old
0.1 versions of `time` we have to stop relying on times passed from `webxr`
to Servo. This change does that, at the cost of removing the XR
profiling feature. It has to be rewritten in another way in the `webxr`
crate.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-07-26 15:53:34 +02:00 committed by GitHub
parent eac54183c1
commit f7448b5d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 5 additions and 54 deletions

3
Cargo.lock generated
View file

@ -644,7 +644,6 @@ dependencies = [
"style",
"style_traits",
"surfman",
"time 0.1.45",
"unicode-script",
"webrender",
"webrender_api",
@ -670,7 +669,6 @@ dependencies = [
"servo_config",
"sparkle",
"style",
"time 0.1.45",
"webrender_api",
"webxr-api",
]
@ -7382,7 +7380,6 @@ dependencies = [
"ipc-channel",
"log",
"serde",
"time 0.1.45",
]
[[package]]