Skip to content

Fix build for iOS#385

Merged
bors[bot] merged 1 commit intogfx-rs:masterfrom
jinleili:master
Nov 27, 2019
Merged

Fix build for iOS#385
bors[bot] merged 1 commit intogfx-rs:masterfrom
jinleili:master

Conversation

@jinleili
Copy link
Copy Markdown
Contributor

Compiling wgpu-native v0.4.0 (https://github.com/gfx-rs/wgpu?rev=b51053dc2dc3bbe9b2ba050fde42eeb6405fe092#b51053dc)
error[E0422]: cannot find struct, variant or union type `Surface` in this scope
--> /Users/LiJinlei/.cargo/git/checkouts/wgpu-53e70f8674b08dd4/b51053d/wgpu-native/src/device.rs:24:24
|
24 |         Rwh::IOS(h) => Surface {
|                        ^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope

Copy link
Copy Markdown
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
bors r+

bors bot added a commit that referenced this pull request Nov 27, 2019
385: Fix build for iOS r=kvark a=grenlight

   ``` 
Compiling wgpu-native v0.4.0 (https://github.com/gfx-rs/wgpu?rev=b51053dc2dc3bbe9b2ba050fde42eeb6405fe092#b51053dc)
error[E0422]: cannot find struct, variant or union type `Surface` in this scope
  --> /Users/LiJinlei/.cargo/git/checkouts/wgpu-53e70f8674b08dd4/b51053d/wgpu-native/src/device.rs:24:24
   |
24 |         Rwh::IOS(h) => Surface {
   |                        ^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
   ``` 

Co-authored-by: LiJinlei <grenlight@icloud.com>
@kvark
Copy link
Copy Markdown
Member

kvark commented Nov 27, 2019

Weird though, I thought we had iOS on CI:

- env: TARGET=aarch64-apple-ios

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Nov 27, 2019

Build succeeded

@bors bors bot merged commit 7a57b45 into gfx-rs:master Nov 27, 2019
kvark pushed a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
385: Move `backends: BackendBit` parameter to `Instance::new()` r=kvark a=Kimundi

Fixes gfx-rs#337
Blocked on gfx-rs#730.


Co-authored-by: Marvin Löbel <loebel.marvin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants