We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a387d commit da25e20Copy full SHA for da25e20
projects/dbus-broker/Dockerfile
@@ -14,7 +14,8 @@
14
#
15
################################################################################
16
17
-FROM gcr.io/oss-fuzz-base/base-builder
+FROM gcr.io/oss-fuzz-base/base-builder-rust
18
RUN git clone --depth 1 https://github.com/bus1/dbus-broker
19
+RUN cargo install bindgen-cli
20
WORKDIR dbus-broker
21
COPY *.c build.sh $SRC/
projects/dbus-broker/build.sh
@@ -37,6 +37,10 @@ apt-get update -y
37
38
if [[ "$ARCHITECTURE" == i386 ]]; then
39
apt-get install -y pkg-config:i386
40
+
41
+ RUST_TARGET=i686-unknown-linux-gnu
42
+ rustup target add "$RUST_TARGET"
43
+ export RUSTC="rustc --target=$RUST_TARGET"
44
else
45
apt-get install -y pkg-config
46
fi
0 commit comments