File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,14 @@ if [ -z "$NO_RUN" ]; then
11
11
cargo test --target $TARGET
12
12
cargo test --target $TARGET --features static-curl
13
13
cargo test --target $TARGET --features static-curl,protocol-ftp
14
+
15
+ # Note that `-Clink-dead-code` is passed here to suppress `--gc-sections` to
16
+ # help confirm that we're compiling everything necessary for curl itself.
17
+ RUSTFLAGS=-Clink-dead-code \
14
18
cargo run --manifest-path systest/Cargo.toml --target $TARGET
19
+ RUSTFLAGS=-Clink-dead-code \
15
20
cargo run --manifest-path systest/Cargo.toml --target $TARGET --features curl-sys/static-curl,curl-sys/protocol-ftp
21
+
16
22
cargo doc --no-deps --target $TARGET
17
23
cargo doc --no-deps -p curl-sys --target $TARGET
18
24
fi
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ fn main() {
133
133
. file ( "curl/lib/asyn-thread.c" )
134
134
. file ( "curl/lib/altsvc.c" )
135
135
. file ( "curl/lib/base64.c" )
136
+ . file ( "curl/lib/bufref.c" )
136
137
. file ( "curl/lib/conncache.c" )
137
138
. file ( "curl/lib/connect.c" )
138
139
. file ( "curl/lib/content_encoding.c" )
@@ -202,6 +203,7 @@ fn main() {
202
203
. file ( "curl/lib/urlapi.c" )
203
204
. file ( "curl/lib/version.c" )
204
205
. file ( "curl/lib/vauth/digest.c" )
206
+ . file ( "curl/lib/vauth/vauth.c" )
205
207
. file ( "curl/lib/vtls/keylog.c" )
206
208
. file ( "curl/lib/vtls/vtls.c" )
207
209
. file ( "curl/lib/warnless.c" )
You can’t perform that action at this time.
0 commit comments