]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #62257 - RalfJung:miri-c-str, r=estebank
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 6 Jul 2019 00:37:56 +0000 (02:37 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Jul 2019 00:37:56 +0000 (02:37 +0200)
commit947d7cf16db583bae255260696f022fb0e7ea4db
tree6b7731c088332535fbb63f216dd3f0588c9d3823
parent182248a466468a7599f21b414904c12daeb8d827
parent05f4a574f6409c932475aea0f95b6d8adfe4222b
Rollup merge of #62257 - RalfJung:miri-c-str, r=estebank

forward read_c_str method from Memory to Alloc

This is more convenient to call when one starts with a `Scalar` (which is the common case).

`read_c_str` is only used in Miri.
src/librustc_mir/interpret/memory.rs