about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-01-08 18:19:55 -0500
committerGraydon Hoare <graydon@mozilla.com>2011-01-10 11:31:33 -0800
commit295c54e10f587a56dfec95ca3a3aee0f9fd721a2 (patch)
tree74f9f227ed056f8132424989106019f534c3e0da /src/rt/rust_kernel.cpp
parenta077400d4cb1d3af0f70c654bbdef5c77fc1eb2f (diff)
downloadrust-295c54e10f587a56dfec95ca3a3aee0f9fd721a2.tar.gz
rust-295c54e10f587a56dfec95ca3a3aee0f9fd721a2.zip
Remove the assumption that circular_buffer's buffer has a power of two size
It was not obvious how to make this implementation work when the unit size
was not also a power of two, so for now just make the buffer size a multiple
of the unit size so it can pass all the tests.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions