Skip to content

Diesel takes forever to compile with 32-column-tables as of #2182 #2480

Closed

Description

Setup

Versions

  • Rust: latest stable (1.45.2)
  • Diesel: latest master (8d3c955)
  • Database:
  • Operating System: ArchLinux

Feature Flags

  • diesel: /

Problem Description

As of 8d3c955 (#2182), diesel takes forever to compile when default features are enabled.

What are you trying to accomplish?

git clone --single-branch https://github.com/diesel-rs/diesel.git
cd diesel/diesel
cargo check --no-default-features --features "32-column-tables"

What is the expected output?

Compiles successfully

What is the actual output?

After ~1h with 64-column-tables (And so far, 15m with 32-column-tables)

    Updating crates.io index
   Compiling proc-macro2 v1.0.19
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.38
   Compiling byteorder v1.3.4
    Checking itoa v0.4.6
   Compiling quote v1.0.7
   Compiling diesel_derives v2.0.0 (/path/to/diesel/diesel_derives)
    Checking diesel v2.0.0 (/path/to/diesel/diesel)
^C  Building [===================================================>     ] 13/14: diesel

Are you seeing any additional errors?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions