Isn't the solution just to not use nolink and dynamically link to a linenoise shared library? On 20/02/2013 5:33 AM, "Brian Anderson" <[email protected]> wrote:
> On 02/18/2013 03:05 PM, Dave King wrote: > >> Hi rust folks, >> >> First up, thanks for all the work on rust I'm really enjoying getting to >> grips with it. >> >> I've been toying with the idea writing a simple shell in Rust and rather >> than link against readline I was trying out linenoise (a much smaller >> library) which seems to already be bundled with rust in src/rt/linenoise. >> >> I've got my rust bindings here: https://github.com/davbo/rust-** >> linenoise/blob/master/**linenoise.rs<https://github.com/davbo/rust-linenoise/blob/master/linenoise.rs> >> >> As you can see I'm getting away with using "nolink" I'm guessing that's >> because of the included version of linenoise. However I would like to >> compile against a newer version of linenoise (or at least be capable of >> doing so). >> >> I don't have much experience with this stuff but it feels like I'm just >> missing a compiler option. As you can see I'm feeling a little lost, what >> might my next steps be? >> >> Thanks again, >> > > I opened an issue about this: https://github.com/mozilla/** > rust/issues/5038 <https://github.com/mozilla/rust/issues/5038>. I don't > know if there's a workaround or not. > ______________________________**_________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/**listinfo/rust-dev<https://mail.mozilla.org/listinfo/rust-dev> >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
