Skip to content

Remove resources #2485

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

Closed
catamorphism opened this issue Jun 2, 2012 · 1 comment
Closed

Remove resources #2485

catamorphism opened this issue Jun 2, 2012 · 1 comment
Labels
A-codegen Area: Code generation A-frontend Area: Compiler frontend (errors, parsing and HIR) A-type-system Area: Type system
Milestone

Comments

@catamorphism
Copy link
Contributor

I've implemented destructors for classes (mostly) and ported some test cases over to use them instead of resources. What remains to do is to port the rest of the test cases, as well as any library code that uses resources, and then remove resources from the language / compiler / documentation.

@ghost ghost assigned catamorphism Jun 2, 2012
@catamorphism
Copy link
Contributor Author

Fixed, waiting for snapshot.

@catamorphism catamorphism removed their assignment Jun 16, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
Breaking posix_memalign precondition is not UB

The `size==0` test here might be overtesting, but I figured might as well test it and leave a comment saying it is fine to remove it if the implementation changes.

Fixes rust-lang#2099
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation A-frontend Area: Compiler frontend (errors, parsing and HIR) A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

1 participant