Skip to content

External ABI by-value parameter can't be demoded #3625

Closed
@brson

Description

@brson

std::net::tcp has crust functions like

extern fn on_tcp_read_cb(stream: *uv::ll::uv_stream_t,                                                                                                                        
                    nread: libc::ssize_t,                                                                                                                                     
                    ++buf: uv::ll::uv_buf_t) unsafe { 

I can't figure out a way to make that ++buf argument go away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions