Skip to content
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

Add few unsafe markers #2526

Merged
merged 1 commit into from
Dec 26, 2018
Merged

Add few unsafe markers #2526

merged 1 commit into from
Dec 26, 2018

Conversation

zakarumych
Copy link

@zakarumych zakarumych commented Dec 24, 2018

Fixes #2453
PR checklist:

  • make succeeds (on *nix)
  • make reftests succeeds
  • tested examples with the following backends:
    metal
  • rustfmt run on changed code

@zakarumych zakarumych requested a review from kvark December 24, 2018 15:37
@zakarumych zakarumych changed the title Add view unsafe markers Add few unsafe markers Dec 24, 2018
Copy link
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.

Thank you for championing this unsafety change!
I'd like to go into more details on what we can do safely, but this requires time, and we'll do it after the initial release.

@@ -3,6 +3,7 @@ name = "hal-examples"
version = "0.1.0"
publish = false
workspace = ".."
edition = "2018"
Copy link
Member

Choose a reason for hiding this comment

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

let's leave the edition update to other PRs, the scope is already high, unless you require it for this to work

Copy link
Author

@zakarumych zakarumych Dec 24, 2018

Choose a reason for hiding this comment

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

The code needs nll. Because I've messed with blocks.
It set only for examples though. And there were no changes to compile for 2018

@kvark
Copy link
Member

kvark commented Dec 25, 2018

Can you remove the second commit please?

@zakarumych
Copy link
Author

Nightly is broken. It happens sometimes. I don't think it should disturb our workflow. Especially when we want to roll our first release.

@kvark
Copy link
Member

kvark commented Dec 26, 2018

The issue rust-lang/rust#57111 is resolved now, please remove the last commit.

@zakarumych
Copy link
Author

If you insist

@kvark
Copy link
Member

kvark commented Dec 26, 2018 via email

bors bot added a commit that referenced this pull request Dec 26, 2018
2526: Add few unsafe markers r=kvark a=omni-viral

Fixes #2453
PR checklist:
- [x] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends:
  metal
- [ ] `rustfmt` run on changed code


Co-authored-by: Zakarum <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 26, 2018

@bors bors bot merged commit 6d8729d into gfx-rs:master Dec 26, 2018
@zakarumych zakarumych deleted the unsafe branch December 26, 2018 15:29
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