File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,16 @@ jobs:
166
166
with : { shared-key: "ubuntu" }
167
167
# ---- build and feature check ----
168
168
# cargo-hack's --feature-powerset would be nice here but libafl has a too many knobs
169
+
170
+ # Tracking: https://github.com/CensoredUsername/dynasm-rs/issues/114
171
+ # One dep of libafl_frida fails on `DOCS_RS` for stable toolchain. Therefore, we _only_ run nightly for that.
172
+ # For the rest of other crates, we still use stable toolchain.
173
+ - name : " Setup nightly"
174
+ uses : dtolnay/rust-toolchain@nightly
175
+ with :
176
+ components : clippy, rustfmt
177
+ - name : " But default to stable"
178
+ run : rustup default stable
169
179
- name : Check each feature
170
180
# Skipping `python` as it has to be built with the `maturin` tool
171
181
# `sancov_pcguard_edges` is tested seperatelyc
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ RUN apt-get update && \
64
64
python3-pip \
65
65
python3-venv \
66
66
software-properties-common \
67
+ ca-certificates \
67
68
wget
68
69
RUN set -ex &&\
69
70
wget https://apt.llvm.org/llvm.sh &&\
Original file line number Diff line number Diff line change @@ -67,9 +67,13 @@ fn main() -> Result<(), Box<dyn Error>> {
67
67
68
68
// run each task, with DOCS_RS override for libafl_frida
69
69
let mut cmd = Command :: new ( "bash" ) ;
70
- cmd. arg ( "-c" ) . arg ( task ) ;
70
+ cmd. arg ( "-c" ) ;
71
71
if task. contains ( "libafl_frida" ) {
72
72
cmd. env ( "DOCS_RS" , "1" ) ;
73
+ let task = task. replace ( "cargo " , "cargo +nightly " ) ;
74
+ cmd. arg ( task) ;
75
+ } else {
76
+ cmd. arg ( task) ;
73
77
}
74
78
let status = cmd. status ( ) ?;
75
79
if !status. success ( ) {
You can’t perform that action at this time.
0 commit comments