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

Convert a slice of Ids to references at zero-cost #1

Open
SSheldon opened this issue May 16, 2015 · 1 comment
Open

Convert a slice of Ids to references at zero-cost #1

SSheldon opened this issue May 16, 2015 · 1 comment

Comments

@SSheldon
Copy link
Owner

There used to be an IdSlice trait for doing this, but it was removed in SSheldon/rust-objc@4118e96. This isn't possible until rust-lang/rust#5016 is completed, because until then an Id is a different size than a reference.

@syntheorem
Copy link

Embedded drop flags are finally gone! Not sure whether the change is in stable yet, but just letting you know that you could likely revisit this now :)

madsmtm added a commit to madsmtm/objc2 that referenced this issue Oct 5, 2021
Removed previously in 4118e96, but embedded drop flags are gone so this is no longer an issue.

Fixes SSheldon/rust-objc-id#1

Co-authored-by: Steven Sheldon <steven@sasheldon.com>
madsmtm added a commit to madsmtm/objc2 that referenced this issue Oct 5, 2021
Removed previously in 4118e96, but embedded drop flags are gone so this is no longer an issue.

Fixes SSheldon/rust-objc-id#1

Co-authored-by: Steven Sheldon <steven@sasheldon.com>
madsmtm added a commit to madsmtm/objc2 that referenced this issue Oct 5, 2021
Removed previously in 4118e96, but embedded drop flags are gone so this is no longer an issue.

Fixes SSheldon/rust-objc-id#1

Co-authored-by: Steven Sheldon <steven@sasheldon.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

No branches or pull requests

2 participants