Merge branch 'master' into f28
This commit is contained in:
commit
6df2afd5da
@ -466,7 +466,8 @@ chmod -x third_party/rust/itertools/src/lib.rs
|
|||||||
|
|
||||||
%if 0%{?use_bundled_cbindgen}
|
%if 0%{?use_bundled_cbindgen}
|
||||||
|
|
||||||
cd third_party/rust
|
mkdir -p my_rust_vendor
|
||||||
|
cd my_rust_vendor
|
||||||
%{__tar} xf %{SOURCE2}
|
%{__tar} xf %{SOURCE2}
|
||||||
cd -
|
cd -
|
||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
@ -475,7 +476,7 @@ cat > .cargo/config <<EOL
|
|||||||
replace-with = "vendored-sources"
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = "`pwd`/third_party/rust"
|
directory = "`pwd`/my_rust_vendor"
|
||||||
EOL
|
EOL
|
||||||
|
|
||||||
env CARGO_HOME=.cargo cargo install cbindgen
|
env CARGO_HOME=.cargo cargo install cbindgen
|
||||||
|
Loading…
Reference in New Issue
Block a user