diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-14 22:42:35 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-14 22:42:35 +0100 |
commit | 6208d24c383e95a50e873ed987643ffa329f9428 (patch) | |
tree | 842593287ea8286066e85edb88fec638e181ee57 /src/libutil | |
parent | 9659940659b36ffab3cbd1eff9f343c9ada2491b (diff) | |
parent | 9af10b753c8a636f828b148fc3a9aecd1c0067fa (diff) |
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/rust-ffi.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/rust-ffi.hh b/src/libutil/rust-ffi.hh index 469a5fba3..228e2eead 100644 --- a/src/libutil/rust-ffi.hh +++ b/src/libutil/rust-ffi.hh @@ -113,6 +113,8 @@ extern "C" { struct String : Vec<char, ffi_String_drop> { + String() = delete; + String(std::string_view s) { ffi_String_new(StringSlice(s), this); |