<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/small-enum-range-edge.rs, branch 0.9</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.9</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.9'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-10-29T16:09:19+00:00</updated>
<entry>
<title>Initial implementation of enum discrimnant sizing.</title>
<updated>2013-10-29T16:09:19+00:00</updated>
<author>
<name>Jed Davis</name>
<email>jld@panix.com</email>
</author>
<published>2013-07-01T05:42:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01740acd5ab243e7b8c0e1e076ed56edcb9bf4d0'/>
<id>urn:sha1:01740acd5ab243e7b8c0e1e076ed56edcb9bf4d0</id>
<content type='text'>
Allows an enum with a discriminant to use any of the primitive integer
types to store it.  By default the smallest usable type is chosen, but
this can be overridden with an attribute: `#[repr(int)]` etc., or
`#[repr(C)]` to match the target's C ABI for the equivalent C enum.

This commit breaks a few things, due to transmutes that now no longer
match in size, or u8 enums being passed to C that expects int, or
reflection; later commits on this branch fix them.
</content>
</entry>
</feed>
