This is related to #466
Consider an extern function which returns a pointer:
#[repr(C)]
struct Foo { ... }
extern "C" fn new_foo() -> *Foo;
Does new_foo return a pointer with provenance for its entire referent? In other words, does new_foo "introduce" new memory into the Rust AM (assuming that it isn't returning a pointer to memory which is already in the AM)?
This is related to #466
Consider an extern function which returns a pointer:
Does
new_fooreturn a pointer with provenance for its entire referent? In other words, doesnew_foo"introduce" new memory into the Rust AM (assuming that it isn't returning a pointer to memory which is already in the AM)?