graydon/rust — Issue #1184: Resource flag is an "int"
Author: nikomatsakis
Created: 2011-11-17 21:41:03+00:00
State: open

Currently resources have a flag of size "int", meaning 32 or 64 bits. This is pretty large for a 1-bit flag. Ideally, it would be a single bit and then allow the alignment code to ensure that the contents of the resource are properly aligned. After the port to x86_64 is running smoothly this would be a good thing to tackle.