Skip to content

Commit fc2e12e

Browse files
tkaleasmeta-codesync[bot]
authored andcommitted
Add bevy 0.18 game engine with fixups for all sub-crates
Summary: Imports the bevy 0.18.1 game engine and wgpu-types 27 into third-party/rust. This is a standalone import — D98494278 (bevy 0.14) remains in Phabricator for historical reference but is not a dependency of this diff. **New top-level crates added to Cargo.toml:** - `bevy = "0.18"` (game engine framework) - `wgpu-types = { version = "27", features = ["serde"] }` (GPU API types) **Vendored sub-crates (56 bevy + ~30 transitive deps):** - 56 bevy sub-crates: bevy_ecs, bevy_render, bevy_pbr, bevy_gltf, bevy_animation, bevy_text, bevy_ui, bevy_scene, bevy_camera, bevy_image, bevy_mesh, bevy_shader, bevy_platform, and 43 others - Key new transitive deps: cosmic-text (text shaping), skrifa/swash/read-fonts (font rendering), naga_oil (shader composition), rodio/cpal/alsa (audio), taffy (UI layout), self_cell, atomicow, variadics_please - Upgraded shared deps: accesskit 0.14->0.21, wgpu-types 0.20->27, sysinfo 0.30->0.37 **Fixups (77 fixup configs across 5 categories):** - `cargo_env` + `extra_srcs` for 50+ bevy sub-crates (embedded assets, shader files, Cargo.toml metadata) - `omit_features` on bevy/bevy_internal: removes `bevy_winit` and windowing features (x11, wayland, custom_cursor, android-game-activity) -- bevy_winit pulls in conflicting android-activity features - `omit_features` on android-activity: removes `game-activity` to resolve mutual exclusion with `native-activity` used by existing arvr targets (haptic_sdk, eye_tracking) - `omit_features` on bevy_reflect: removes `web` on wasm32 to prevent uuid/js activation incompatible with Buck wasm build - `omit_features` on uuid: removes `js` on wasm32 (same wasm-bindgen incompatibility) - Build script and overlay fixups for wgpu, wgpu-core, wgpu-hal, winit, cpal, alsa-sys, oboe-sys, hassle-rs **First-party changes:** - `xplat/bevy_demo/`: 74 example files migrated to bevy 0.18 API (required components pattern, `delta_secs()`, `DefaultPlugins` without `WinitPlugin`) - Added Meta license headers to all 74 example files allow-large-files bypass-github-export-checks Reviewed By: dtolnay Differential Revision: D101469697 fbshipit-source-id: 1174cec5ea8655b196e2188ccabd90662c0f549f
1 parent 9bd57e6 commit fc2e12e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

safeptrace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ futures = { version = "0.3.31", features = ["async-await", "compat"] }
1414
lazy_static = "1.5"
1515
libc = "0.2.183"
1616
nix = { version = "0.30.1", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "signal", "term", "time", "user", "zerocopy"] }
17-
parking_lot = { version = "0.12.1", features = ["send_guard"] }
17+
parking_lot = { version = "0.12.1", features = ["arc_lock", "send_guard"] }
1818
reverie-memory = { version = "0.1.0", path = "../reverie-memory", optional = true }
1919
reverie-process = { version = "0.1.0", path = "../reverie-process" }
2020
syscalls = { version = "0.6.18", features = ["serde"] }

0 commit comments

Comments
 (0)