rust-lang / rust-lang/rust

Ludicrous build time for `keshvar` crate in `release` mode

Đang mở
#124,653 8 bình luận 1 reaction 1 người được giao Xem trên GitHub

@dianqk đang làm issue này rồi.

Từ ngày 3/7/2024.

A-LLVM C-optimization I-compiletime S-has-mcve T-compiler
Ngôn ngữ chính
Rust
Star
119k
Fork
16.2k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

This MRE is a repo. from a barebones cargo create + cargo add keshvar --features search-translations.

A release build takes several orders of magnitude longer than a debug build. This is coming from the keshvar crate, see also this issue.

cargo build:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s

cargo build --release:

    Finished `dev` profile [optimized + debuginfo] target(s) in 38m 12s

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.