Skip to content

Avoid using the std::intrinsics module #803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 18, 2015

Conversation

alexcrichton
Copy link
Contributor

This is actually unstable but there's a bug in the compiler allowing it
to be used. Good news is that these functions are available stable elsewhere!

This is actually unstable but [there's a bug][bug] in the compiler allowing it
to be used. Good news is that these functions are available stable elsewhere!

[bug]: rust-lang/rust#28075
@kvark
Copy link
Member

kvark commented Sep 18, 2015

Wow, Alex here! Welcome, and thanks for the PR!

@homu r+

@homu
Copy link
Contributor

homu commented Sep 18, 2015

📌 Commit 272dc46 has been approved by kvark

homu added a commit that referenced this pull request Sep 18, 2015
Avoid using the std::intrinsics module

This is actually unstable but [there's a bug][bug] in the compiler allowing it
to be used. Good news is that these functions are available stable elsewhere!

[bug]: rust-lang/rust#28075
@homu
Copy link
Contributor

homu commented Sep 18, 2015

⌛ Testing commit 272dc46 with merge 327b923...

@homu
Copy link
Contributor

homu commented Sep 18, 2015

☀️ Test successful - status

@homu homu merged commit 272dc46 into gfx-rs:master Sep 18, 2015
@alexcrichton alexcrichton deleted the no-intrinsics branch September 18, 2015 17:11
@alexcrichton
Copy link
Contributor Author

❤️

@alexcrichton
Copy link
Contributor Author

Ah and also, would you be ok releasing a new version with this change? I'm hoping to do a crater run with this release to further evaluate the impact of rust-lang/rust#28364

@kvark
Copy link
Member

kvark commented Sep 18, 2015

@alexcrichton sure! @csherratt is on it

@alexcrichton
Copy link
Contributor Author

Awesome, thanks!

@ghost
Copy link

ghost commented Sep 18, 2015

@alexcrichton it's published now. Cheers!

@alexcrichton
Copy link
Contributor Author

Thanks @csherratt!

adamnemecek pushed a commit to adamnemecek/gfx that referenced this pull request Apr 1, 2021
803: Player-based GPU test framework r=cwfitzgerald a=kvark

**Connections**
Closes gfx-rs#786

**Description**
This change adds a GPU-based testing by re-using the Player from tracing infrastructure - gfx-rs#289.
It converts the player into a lib + binary, and adds an integration test into the crate that implements RON-specified testing.

Current implementation has a few requirements/gotchas that are listed in `test.rs`:
* in all the IDs, the backend is `Empty`
* all expected buffers have `MAP_READ` usage on them
* last action is `Submit`

I believe it's workable, and we can improve it down the road (e.g. with gfx-rs#792).

**Testing**
MUHAHAHA
`cargo test` nails it

Co-authored-by: Dzmitry Malyshau <[email protected]>
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.

3 participants