Commit Graph

3 Commits

Author SHA1 Message Date
a60471f526 Add AttrsBuidler, change Attrs struct around some
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-15 11:33:53 -04:00
f3680f29ad Add Attrs::new() test
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-14 17:17:14 -04:00
ccb12306d4 Add mem and obj modules, move to nightly
* mem and obj modules are roughly divided between doing memory-specific
  things and object-specific things
* Box::new_uninit() is a nightly feature and it's quite useful, so I'm
  enabling that for now
* Check out src/obj/attrs.rs for possible undefined behavior in the
  Attrs::new() function. I'm sure it'll be just fine.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-14 17:10:53 -04:00