Closed SeniorMars closed 4 months ago
What Rust version are you using? Can you try cargo clean
ing before building?
I fixed it. I think it had to do with serde???
[package]
name = "render"
version = "0.1.0"
authors = ["SeniorMars <seniormars@rice.edu>"]
edition = "2021"
[lib]
name = "render"
crate-type = ["cdylib"]
[dependencies]
nvim-oxi = { version = "0.5.1", features = ["neovim-nightly", "test", "libuv"] }
regex = "1.10.2"
serde = { version = "1.0.203", features = ["derive"] }
anyhow = "1"
base64 = "0.13"
tempfile = "3.1"
# magick_rust = "0.19.1"
[dev-dependencies]
image = "0.24"
I also added this since I was on mac:
λ in ~/PersonalC/render.nvim on main ❯❯ ccat .cargo/config.toml
[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
Here is the compile error:
Here is my toml
Thank you.