kime icon indicating copy to clipboard operation
kime copied to clipboard

Add .cargo/config.toml

Open racakenon opened this issue 10 months ago • 1 comments

Summary

rustc not use cmake LD_PATH see(https://github.com/Riey/kime/issues/693#issuecomment-2612017513) thus, add config.toml to add link-args. this solution work from stable to nightly rustc, rust-toolchain.toml can use stable channel.

Note

Checklist

  • [ ] I have documented my changes properly to adequate places
  • [ ] I have updated the docs/CHANGELOG.md

racakenon avatar Feb 02 '25 23:02 racakenon

To me, putting -Clink-args=-L./target/release in .cargo/config.toml doesn't seem appropriate since it was a very hacky way of making it just work for the nix build. It's only for release build, which is the only target nix build should care for.

A better fix might be with build.sh or build.rs. I may look for it next week.

jhhuh avatar Feb 05 '25 05:02 jhhuh

This doesn't needed anymore cause #702

Riey avatar Jul 15 '25 07:07 Riey