about summary refs log tree commit diff
path: root/src/test/auxiliary/packed.rs
AgeCommit message (Collapse)AuthorLines
2016-05-06kill the old auxiliary directoryNiko Matsakis-15/+0
2014-08-20librustc: handle repr on structs, require it for ffi, unify with packedCorey Richardson-1/+1
As of RFC 18, struct layout is undefined. Opting into a C-compatible struct layout is now down with #[repr(C)]. For consistency, specifying a packed layout is now also down with #[repr(packed)]. Both can be specified. To fix errors caused by this, just add #[repr(C)] to the structs, and change #[packed] to #[repr(packed)] Closes #14309 [breaking-change]
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-09-24Correctly encode item visibility in metadataAlex Crichton-1/+1
This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592
2013-05-06Fix cross-crate packed structsSeo Sanghyeon-0/+5