Skip to content

Commit

Permalink
fix: the config file extension is not required to be .toml
Browse files Browse the repository at this point in the history
  • Loading branch information
filmil committed Nov 13, 2024
1 parent 6ac9feb commit 09bba4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .cargo/config

This file was deleted.

1 change: 1 addition & 0 deletions .cargo/config
8 changes: 8 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# These flags are the only way to tell cargo to add directories to the library
# search path. When `build.rs` script is used, this is not needed since the
# script will set the library paths correctly. But when it isn't used,
# something still needs to produce these flags. With cargo, this is the only
# way.
[build]
rustflags=["-L", "/usr/local/lib"]
rustdocflags=["-L", "/usr/local/lib"]

0 comments on commit 09bba4f

Please sign in to comment.