Skip to content

Should ./configure generate config.toml instead of config.mk? #40730

Closed
@TimNN

Description

@TimNN

As far as I know, getting rid of ./configure is a desirable goal. As I understand it, it is kept mainly for compatibility reasons:

  • It's used in the "standard unix workflow", ie. ./configure && make && make install
  • which is used by linux distros shipping rust?
  • It's used in our ci infrastructure

Making ./configure produce a config.toml file seems like a potential step in the right direction and would allow getting rid of a nice chunk of compatibility code in rustbuild.

Open questions:

  • Do we want to get rid of ./configure in the near future? In that case making it produce a config.toml first is probably not worth the effort.
  • How complicated would it be to make ./configure generate config.toml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions