diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-21 10:40:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 10:40:35 +0200 |
| commit | 02d787bef8b6b12523253cf24f79df5c1428959c (patch) | |
| tree | 051df296ae31184847dcef5af408899b3b849055 /src/test/codegen/src-hash-algorithm | |
| parent | 9e2ebf31ddb83ed3dd22ae16a5120d1178a7d370 (diff) | |
| parent | 0bc405e3521d84cfaef7d94f1ae40c6c16796c8b (diff) | |
| download | rust-02d787bef8b6b12523253cf24f79df5c1428959c.tar.gz rust-02d787bef8b6b12523253cf24f79df5c1428959c.zip | |
Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb
Remove DeclareMethods Most of the `DeclareMethods` API was only used internally by rustc_codegen_llvm. As such, it makes no sense to require other backends to implement them. (`get_declared_value` and `declare_cfn` were used, in one place, specific to the `main` symbol, which I've replaced with a more specialized function to allow more flexibility in implementation - the intent is that `declare_c_main` can go away once we do something more clever, e.g. @eddyb has ideas around having a MIR shim or somesuch we can explore in a follow-up PR)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
