diff options
author | Kenichi Ishibashi <bashi@chromium.org> | 2022-03-02 17:41:50 +0900 |
---|---|---|
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-03-08 21:55:34 +0000 |
commit | e5abf588c0b03e131a148bcd7927421638ccccdf (patch) | |
tree | 01833d2fa80ff8a08e7d0d066229711fb9196dde /.gitignore | |
parent | ab69425a98f64b38276a2dfe1a3ed01aaea0d437 (diff) | |
download | boringssl-e5abf588c0b03e131a148bcd7927421638ccccdf.zip boringssl-e5abf588c0b03e131a148bcd7927421638ccccdf.tar.gz boringssl-e5abf588c0b03e131a148bcd7927421638ccccdf.tar.bz2 |
Rust bindings: Use CARGO_MANIFEST_DIR in build.rs
When a rust crate uses the boringssl rust bindings like:
```Cargo.toml
[dependencies]
bssl-sys = { path = "./third_party/boringssl/build/rust" }
```
The working directory of `build.rs` is set to the the crate's
working directory so "." and ".." aren't relative to the bindings'
directory. Use CARGO_MANIFEST_DIR to specify link search paths.
Change-Id: Ieb49f4ab479f47390388dc5ace70561f593dc238
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/51645
Reviewed-by: David Drysdale <drysdale@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ ssl/test/runner/runner *.swo doc/*.html doc/doc.css +rust/Cargo.lock rust/target util/bot/android_ndk |