-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add crate type flag to rustc command #10093
Conversation
r? @ehuss (rust-highfive has picked a reviewer for you, use r? to override) |
/hold
|
eb171b1
to
d66c2db
Compare
/unhold Ready for review! Also, I did some manual testing. ➜ hyper git:(master) ../cargo/target/debug/cargo rustc --crate-type lib,cdylib -Z unstable-options
Compiling pin-project-lite v0.2.7
Compiling bytes v1.1.0
Compiling cfg-if v1.0.0
Compiling itoa v0.4.8
Compiling fnv v1.0.7
Compiling lazy_static v1.4.0
Compiling try-lock v0.2.3
Compiling pin-utils v0.1.0
Compiling httpdate v1.0.2
Compiling tower-service v0.3.1
Compiling proc-macro2 v1.0.32
Compiling syn v1.0.81
Compiling libc v0.2.107
Compiling futures-core v0.3.17
Compiling log v0.4.14
Compiling futures-task v0.3.17
Compiling memchr v2.4.1
Compiling httparse v1.5.1
Compiling futures-channel v0.3.17
Compiling tokio v1.14.0
Compiling futures-util v0.3.17
Compiling tracing-core v0.1.21
Compiling want v0.3.0
Compiling http v0.2.5
Compiling quote v1.0.10
Compiling num_cpus v1.13.0
Compiling http-body v0.4.4
Compiling tokio-macros v1.6.0
Compiling tracing-attributes v0.1.18
Compiling tracing v0.1.29
Compiling hyper v0.14.15 (/Users/rustin/ClionProjects/hyper)
Finished dev [unoptimized + debuginfo] target(s) in 14.57s
➜ hyper git:(master) ll ./target/debug
total 3408
drwxr-xr-x 57 rustin staff 1.8K Nov 19 00:02 build
drwxr-xr-x 484 rustin staff 15K Nov 19 00:02 deps
drwxr-xr-x 2 rustin staff 64B Nov 17 20:40 examples
drwxr-xr-x 5 rustin staff 160B Nov 19 00:02 incremental
-rw-r--r-- 1 rustin staff 1.2K Nov 17 20:40 libhyper.d
-rwxr-xr-x 2 rustin staff 51K Nov 19 00:02 libhyper.dylib
-rw-r--r-- 2 rustin staff 1.6M Nov 19 00:02 libhyper.rlib |
9be5b37
to
51f124f
Compare
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
e890be1
to
3231e31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks for moving this forward!
Can you remove the close
line from the PR description? We normally don't close tracking issues until after it is stabilized. Additionally, it is customary to provide a description of what the PR does besides just pointing to an issue.
3231e31
to
660ce6b
Compare
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@ehuss All comments addressed! Could you please take a look again? Thanks! 💚 💙 💜 💛 ❤️ |
Thanks! @bors r+ |
📌 Commit 137f9bc has been approved by |
☀️ Test successful - checks-actions |
Update cargo 6 commits in 7f08ace4f1305de7f3b1b0e2f765911957226bd4..294967c53f0c70d598fc54ca189313c86c576ea7 2021-11-24 17:54:39 +0000 to 2021-11-29 19:04:22 +0000 - Fix some tests with output collisions. (rust-lang/cargo#10137) - Description of the targets that can be applied (rust-lang/cargo#10109) - Improve unused patch message when source URLs mismatched (rust-lang/cargo#10130) - Add a note about doctest xcompile. (rust-lang/cargo#10132) - book: add edit links to specific pages (rust-lang/cargo#10124) - Add crate type flag to rustc command (rust-lang/cargo#10093)
part of #10083