about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-01-24 22:09:57 +0100
committerGitHub <noreply@github.com>2021-01-24 22:09:57 +0100
commit22dc82fb9db48a9542d3c6b7736665d9a823eb52 (patch)
treecfa90dfd41dbcbffb6f0fc869199bb20196d5e67 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent27abbc208ff64188babdfa6dbac2b2aa11ed18e2 (diff)
parent14aa12fcc2ebee6edfd6092a51122a6a6ba78d4d (diff)
downloadrust-22dc82fb9db48a9542d3c6b7736665d9a823eb52.tar.gz
rust-22dc82fb9db48a9542d3c6b7736665d9a823eb52.zip
Rollup merge of #81259 - est31:cfg_version, r=petrochenkov
Replace version_check dependency with own version parsing code

This gives compiler maintainers a better degree of control
over how the version gets parsed and is a good way to ensure
that there are no changes of behaviour in the future.

Also, issue a warning if the version is invalid instead of erroring
so that we stay forwards compatible with possible future changes
of the versioning scheme.

Last, this improves the present test a little.

Fixes #79436

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions