]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #90066 - yaahc:thinbox, r=joshtriplett
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sat, 9 Apr 2022 03:58:40 +0000 (05:58 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Apr 2022 03:58:40 +0000 (05:58 +0200)
commitee8cea8ac48df14c9089720823910a5a8fddbb2c
treea00af7323be29284d7c58198a69d619d0023d2df
parent340f6491bed3525acfabbdbd1545b6aee2fca62b
parenta87a0d089e793903844ef40851deae48c039f8bb
Rollup merge of #90066 - yaahc:thinbox, r=joshtriplett

Add new ThinBox type for 1 stack pointer wide heap allocated trait objects

**Zulip Thread**: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/ThinBox

Based on https://github.com/matthieu-m/rfc2580/blob/b58d1d3cba0d4b5e859d3617ea2d0943aaa31329/examples/thin.rs

Tracking Issue: https://github.com/rust-lang/rust/issues/92791

Usage Trial: https://github.com/yaahc/pgx/pull/1/files

## TODO

- [x] make sure to test with #[repr(align(1024))] structs etc