Closed zdcthomas closed 4 months ago
Ok, I figure it out! For some reason cargo wasn't picking up the build flags to tell the compiler to use dynamic lookup for the nvim_* calls. In nix, I put the env var in the build step with
RUSTFLAGS = [
"-C link-arg=-undefined"
"-C link-arg=dynamic_lookup"
];
Can you reproduce it on an x86 Mac? If not, it sounds like this could be a Cargo bug since those exact flags are already defined in the .cargo/config.toml
file.
Hi! I'm not sure if this is at all related to this crate, but I wanted to see if you had any thoughts about it either way. I'm seeing a new error, even though I don't think I've changed anything, here's the error
and I'm using a flake for local dev https://github.com/zdcthomas/ned/blob/cd4c9605b1b256c22aa63aff7d24119f0cbb6ca4/flake.nix#L1
I might be doing something super dumb, and I can definitely close if this is totally unrelated, but I thought I'd ask anyway.
Thanks!