about summary refs log tree commit diff
path: root/tvix/tools/turbofetch/src/buffer.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-07T08·21+0100
committerclbot <clbot@tvl.fyi>2024-02-07T20·03+0000
commit4e040e8bc491bcee930ee7e59d6e68ef87c35bb6 (patch)
tree424105706cbfb64029e7d3799f752c1c48196dfc /tvix/tools/turbofetch/src/buffer.rs
parent70c068df51c46cecb44453bf2e0dcab8c07afe14 (diff)
chore(tvix/tools/turbofetch): bump magic-buffer to 0.1.1 r/7481
This contains https://github.com/sklose/magic-buffer/pull/4, so we don't
have to impl Send ourselves.

Change-Id: If046596e13345ad4fec22209440e65859e44d540
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10748
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Diffstat (limited to 'tvix/tools/turbofetch/src/buffer.rs')
-rw-r--r--tvix/tools/turbofetch/src/buffer.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tvix/tools/turbofetch/src/buffer.rs b/tvix/tools/turbofetch/src/buffer.rs
index 13207f562184..d6ff93e3cfe7 100644
--- a/tvix/tools/turbofetch/src/buffer.rs
+++ b/tvix/tools/turbofetch/src/buffer.rs
@@ -12,10 +12,6 @@ pub struct Buffer {
     tail: usize,
 }
 
-// SAFETY: MagicBuffer isn't bound to a thread, and neither are any of the other fields.
-// MagicBuffer ought to be Send+Sync itself, upstream PR at https://github.com/sklose/magic-buffer/pull/4
-unsafe impl Send for Buffer {}
-
 impl Buffer {
     /// Allocate a fresh buffer, with the specified capacity.
     /// The buffer can contain at most `capacity - 1` bytes.