]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #80323 - camelid:codegen-base-docs, r=nagisa
authorDylan DPC <dylan.dpc@gmail.com>
Thu, 31 Dec 2020 21:20:43 +0000 (22:20 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 21:20:43 +0000 (22:20 +0100)
commit55cfcd596fabf4758f31e098a14542a52c36f7ad
tree08f6b85cedb1362b37f0282ab122db254a407b2f
parent44e3daf5eee8263dfc3a2509e78ddd1f6f783a0e
parent5b32ab671a03e0804e864907d7be4c775b4c6403
Rollup merge of #80323 - camelid:codegen-base-docs, r=nagisa

Update and improve `rustc_codegen_{llvm,ssa}` docs

Fixes #75342.

These docs were very out of date and misleading. They even said that
they codegen'd the *AST*!

For some reason, the `rustc_codegen_ssa::base` docs were exactly
identical to the `rustc_codegen_llvm::base` docs. They didn't really
make sense, because they had LLVM-specific information even though
`rustc_codegen_ssa` is supposed to be somewhat generic. So I removed
them as they were misleading.

r? ``@pnkfelix`` maybe?
compiler/rustc_codegen_ssa/src/base.rs