Skip to content

Don't export linenoise symbols from librustrt #5038

Closed

Description

@brson

The linenoise exports from librustrt prevent rust crates from linking to their own copies of line noise.

https://mail.mozilla.org/pipermail/rust-dev/2013-February/003187.html

I'm not sure the right solution to this. Maybe linenoise should be statically, and privately, linked to std.

Activity

  1. davbo commented on Feb 20, 2013

    @davbo
    Contributor

    This wasn't a problem once I created a shared library and stuck it somewhere in my LD_LIBRARY_PATH. See my follow-up email: https://mail.mozilla.org/pipermail/rust-dev/2013-February/003199.html

    Not sure if you want to close this since it's no longer a problem (for me), it's possibly debatable whether it's a good idea to be exporting linenoise from librustrt?

  2. emberian commented on Jul 7, 2013

    @emberian
    Contributor

    Same with libuv, still relevant

  3. thestinger commented on Aug 27, 2013

    @thestinger
    Contributor

    This is still relevant.

  4. catamorphism commented on Oct 10, 2013

    @catamorphism
    Contributor

    Clearing milestone, but it's still relevant

  5. added a commit that references this issue on Oct 17, 2013
    386fa1d
  6. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions