This migration was non-trivial! On the WebGPU side, a change in how load and store operations in render attachments were represented meant that we needed to re-work FFI for `RenderPassDepthStencilAttachment` and `RenderPassColorAttachment`, with most of the effort going towards the former. These types, along with `Option`, needed FFI-friendly replacements for `Option` and the related types in `wgpu-core`. There was also some housekeeping done to avoid duplicate dependencies: * Create `thiserror` shim that downgrades v2 → v1. Otherwise, v2 would be brought in by the new WGPU. We can't go in the opposite direction yet, because `bitsclient` has code that breaks on upgrade. The next patch in this series addresses this, and reverses the direction of the shim. * Also remove the now-unused shim adapting from `cfg_aliases` 0.1 to 0.2. Co-Authored-By: Jim Blandy <jimb@red-bean.com> Differential Revision: https://phabricator.services.mozilla.com/D233192
6 lines
228 B
Rust
6 lines
228 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
pub use thiserror::*;
|