[PATCH] D134337: [clang] [Driver] More flexible rules for loading default configs

Miguel Ojeda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 11:38:32 PDT 2022


ojeda added a comment.

Thanks Nick for the ping. Indeed, `rustc` allows to use a "target specification file" to create new targets that are not built-in, as a JSON file.

They are unstable though, since they are fairly tied to LLVM, and I think the Rust compiler team prefers to stabilize flags instead.

However, it would definitely be great for users and build systems if GCC, Clang and `rustc` could get together and decide on a new, common config file, even if it just covered the target specification.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134337/new/

https://reviews.llvm.org/D134337



More information about the cfe-commits mailing list