File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ host = ["rustacuda", "rust-cuda-ptx-jit/host"]
2323derive = [" rustacuda_derive" , " rust-cuda-derive" ]
2424
2525[dependencies ]
26- rustacuda_core = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " bc2c42d " }
26+ rustacuda_core = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " c6ea7cc " }
2727
28- rustacuda = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " bc2c42d " , optional = true }
29- rustacuda_derive = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " bc2c42d " , optional = true }
28+ rustacuda = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " c6ea7cc " , optional = true }
29+ rustacuda_derive = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " c6ea7cc " , optional = true }
3030
3131const-type-layout = { git = " https://github.com/MomoLangenstein/const-type-layout" , rev = " aa5ad03" }
3232
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ default = []
1212host = [" regex" , " rustacuda" , " lazy_static" ]
1313
1414[dependencies ]
15- rustacuda = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " bc2c42d " , optional = true }
15+ rustacuda = { git = " https://github.com/MomoLangenstein/RustaCUDA" , rev = " c6ea7cc " , optional = true }
1616regex = { version = " 1.5" , optional = true }
1717lazy_static = { version = " 1.4" , optional = true }
Original file line number Diff line number Diff line change @@ -310,14 +310,6 @@ impl<C: private::drop::Sealed> From<C> for CudaDropWrapper<C> {
310310 Self ( ManuallyDrop :: new ( val) )
311311 }
312312}
313- impl < C : private:: drop:: Sealed > CudaDropWrapper < C > {
314- pub fn into_inner ( self ) -> C {
315- let this = ManuallyDrop :: new ( self ) ;
316-
317- // Safety: move out of drop, caller now has to deal with CUDA drop again
318- unsafe { core:: ptr:: read ( & * this. 0 ) }
319- }
320- }
321313impl < C : private:: drop:: Sealed > Drop for CudaDropWrapper < C > {
322314 fn drop ( & mut self ) {
323315 // Safety: drop is only ever called once
You can’t perform that action at this time.
0 commit comments