diff options
| author | Josh Stone <jistone@redhat.com> | 2019-02-13 13:46:45 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-02-13 13:46:45 -0800 |
| commit | 70c5af85e09be583128df5eda6b4de25a23387c1 (patch) | |
| tree | d8bc8228e9f2fdf3b90f18d071bf99ab888065e3 /src/test/rustdoc-js-std/enum-option.js | |
| parent | e54494727855cd14229f5d456591ed2a2f027c46 (diff) | |
| download | rust-70c5af85e09be583128df5eda6b4de25a23387c1.tar.gz rust-70c5af85e09be583128df5eda6b4de25a23387c1.zip | |
Avoid allocation in std::sys::unix::weak
If we add a terminating NUL to the name in the `weak!` macro, then `fetch()` can use `CStr::from_bytes_with_nul()` instead of `CString`.
Diffstat (limited to 'src/test/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions
