rust/src/tools
bors 3cdd0197e7 Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk
Use stable metric for const eval limit instead of current terminator-based logic

This patch adds a `MirPass` that inserts a new MIR instruction `ConstEvalCounter` to any loops and function calls in the CFG. This instruction is used during Const Eval to count against the `const_eval_limit`, and emit the `StepLimitReached` error, replacing the current logic which uses Terminators only.

The new method of counting loops and function calls should be more stable across compiler versions (i.e., not cause crates that compiled successfully before, to no longer compile when changes to the MIR generation/optimization are made).

Also see: #103877
2023-01-29 04:11:27 +00:00
..
build-manifest Add vendor to Fuchsia's target triple 2023-01-05 09:34:22 -05:00
build_helper Handle non-existant upstream master branches in x fmt 2023-01-06 20:18:50 +01:00
bump-stage0 Allow passing a specific date to bump-stage0 2023-01-03 03:40:58 +00:00
cargo@3c5af6bed9 Update cargo 2023-01-24 20:34:38 +00:00
cargotest Override linker in cargotest on windows 2022-10-23 19:33:03 -05:00
clippy Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
collect-license-metadata address review feedback 2022-11-24 17:25:35 +01:00
compiletest Rollup merge of #107127 - uweigand:s390x-sanitizer, r=Mark-Simulacrum 2023-01-22 11:43:07 +01:00
error_index_generator error-index: Don't generate 404 instead of removing it. 2023-01-05 11:07:35 -08:00
expand-yaml-anchors
generate-copyright initial prototype of the tool to generate copyright notices 2022-11-15 15:02:03 +01:00
html-checker parallelize HTML checking tool 2022-07-29 23:26:38 -04:00
jsondocck Remove need to give JSON file path 2022-08-18 10:48:06 +02:00
jsondoclint jsondoclint: Check local items in paths are also in index. 2023-01-06 23:10:14 +00:00
linkchecker Remove reference from the intra-doc link checker. 2022-11-03 22:02:39 -07:00
lint-docs fix the lint as requested 2022-10-24 21:25:30 +02:00
lld-wrapper fix lld-wrapper lld flavor detection 2022-09-07 14:51:54 +02:00
miri add EarlyBinder::no_bound_vars 2023-01-26 20:28:31 -07:00
miropt-test-tools couple of clippy::perf fixes 2022-11-18 10:30:47 +01:00
remote-test-client tools/remote-test-{server,client}: Use /data/local/tmp on Android 2022-10-06 13:42:32 -07:00
remote-test-server Use u32 methods instead of manual shifting 2022-12-23 16:08:23 +05:30
replace-version-placeholder Also replace the version placeholder in rustc_attr 2022-09-02 01:47:01 +02:00
rls Sunset RLS 2022-08-27 21:36:08 -07:00
rust-analyzer Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rust-demangler
rust-installer@5b2eee7eed Bump rust-installer 2022-12-27 16:27:49 -05:00
rustbook Update mdbook 2023-01-09 17:04:14 -08:00
rustc-workspace-hack Update cargo 2023-01-04 15:58:52 +00:00
rustdoc rustdoc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-24 20:40:46 +02:00
rustdoc-gui Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustdoc-js rustdoc: add hash to filename of toolchain files 2022-10-29 12:47:48 -07:00
rustdoc-themes
rustfmt Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obk 2023-01-26 12:44:47 +00:00
tidy Update tidy for cranelift-egraph removal and new windows-sys targets 2023-01-24 19:03:13 +01:00
tier-check Encourage developers not to use periods in target names 2022-11-17 10:41:41 +01:00
unicode-table-generator Address feedback from PR #101401 2022-09-04 08:07:53 -07:00
unstable-book-gen unstable-book-gen: use std::fs::write 2022-08-28 00:40:58 +02:00
x keep --wrapper-version argument in x 2023-01-11 12:13:35 -07:00
cherry-pick.sh
publish_toolstate.py Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00