about summary refs log tree commit diff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-15 09:57:55 -0700
committerbors <bors@rust-lang.org>2013-04-15 09:57:55 -0700
commit3809a04bf79fe75ff48fd7aa48f7858472ee37f5 (patch)
treeb6cfefc764f4e23ca1e67b9dcda1ac2612afb6dd /src/rt/rust_run_program.cpp
parent7b152baddfec6c4c475cb51b8428108c8c41af27 (diff)
parente9a52f5af576ffd517284813858b6d06910460ea (diff)
downloadrust-3809a04bf79fe75ff48fd7aa48f7858472ee37f5.tar.gz
rust-3809a04bf79fe75ff48fd7aa48f7858472ee37f5.zip
auto merge of #5778 : jld/rust/reflect-abstract-enum, r=graydon
This takes care of one of the last remnants of assumptions about enum layout.  A type visitor is now passed a function to read a value's discriminant, then accesses fields by being passed a byte offset for each one.  The latter may not be fully general, despite the constraints imposed on representations by borrowed pointers, but works for any representations currently planned and is relatively simple.

Closes #5652.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions