Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0c60779
Avoid an intermediate Option and just create the resulting enum directly
oli-obk Apr 12, 2024
24653a5
Remove a HACK by instead inferring opaque types during expected/forma…
oli-obk Apr 12, 2024
e4f4e58
Port build_reduce_graph
JeanCASPAR Mar 24, 2024
4226dc2
Migrate some diagnostics
JeanCASPAR Mar 24, 2024
cec9f7f
Migrate more diagnostics
JeanCASPAR Mar 24, 2024
992c505
Reorder error messages
JeanCASPAR Apr 13, 2024
ec3ac1d
builtin-derive: tag → discriminant
RalfJung Apr 14, 2024
be7fb2e
Update encode.rs
TDecking Apr 14, 2024
e5cf30c
Update v0.rs
TDecking Apr 14, 2024
b09c177
Don't leak unnameable types in -> _ recover
compiler-errors Apr 14, 2024
398da59
Merge `WithNumNodes` into DirectedGraph
WaffleLapkin Apr 14, 2024
0d5fc9b
Merge `{With,Graph}{Successors,Predecessors}` into `{Successors,Prede…
WaffleLapkin Apr 14, 2024
f514493
Rename `WithNumEdges` => `NumEdges` and `WithStartNode` => `StartNode`
WaffleLapkin Apr 14, 2024
3124fa9
Document `ControlFlowGraph`
WaffleLapkin Apr 14, 2024
e8d2221
Make `depth_first_search` into a standalone function
WaffleLapkin Apr 14, 2024
80dc3d1
move the LargeAssignments lint logic into its own file
RalfJung Apr 14, 2024
bf3decc
Fix UB in LLVM FFI when passing zero or >1 bundle
Mark-Simulacrum Apr 14, 2024
510720e
libtest: also measure time in Miri
RalfJung Apr 6, 2024
24dac6c
disable create_dir_all_bare on all(miri, windows)
RalfJung Apr 15, 2024
7d1ee8c
Fix some typos in doc
mountcount Apr 9, 2024
235d45e
Distribute LLVM bitcode linker as a preview component
Apr 3, 2024
435db9b
Use RPITIT for `Successors` and `Predecessors` traits
WaffleLapkin Apr 15, 2024
e07d18f
Rollup merge of #123423 - kjetilkjeka:llvm_bitcode_linker_component, …
jieyouxu Apr 15, 2024
2074631
Rollup merge of #123548 - RalfJung:what-is-time, r=joboet
jieyouxu Apr 15, 2024
4d2a8e3
Rollup merge of #123666 - mountcount:master, r=lqd
jieyouxu Apr 15, 2024
699612f
Rollup merge of #123864 - oli-obk:define_opaque_types3, r=compiler-er…
jieyouxu Apr 15, 2024
18e6bb2
Rollup merge of #123896 - JeanCASPAR:rustc_resolve-to-session-diagnos…
jieyouxu Apr 15, 2024
b1d1e08
Rollup merge of #123919 - RalfJung:discriminant, r=compiler-errors
jieyouxu Apr 15, 2024
1870e2d
Rollup merge of #123922 - TDecking:base_n_magic_removal, r=jieyouxu
jieyouxu Apr 15, 2024
313b02a
Rollup merge of #123931 - compiler-errors:variance-unnameables, r=fmease
jieyouxu Apr 15, 2024
b79d0b0
Rollup merge of #123933 - RalfJung:large-assignments, r=michaelwoerister
jieyouxu Apr 15, 2024
5580ae9
Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease
jieyouxu Apr 15, 2024
4f3a39b
Rollup merge of #123941 - Mark-Simulacrum:fix-llvm-ub, r=nikic
jieyouxu Apr 15, 2024
723c0e2
Rollup merge of #123957 - RalfJung:create_dir_all_bare, r=joboet
jieyouxu Apr 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions library/test/src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,8 @@ pub fn run_tests_console(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> io::Resu

// Prevent the usage of `Instant` in some cases:
// - It's currently not supported for wasm targets.
// - We disable it for miri because it's not available when isolation is enabled.
let is_instant_unsupported = (cfg!(target_family = "wasm") && !cfg!(target_os = "wasi"))
|| cfg!(target_os = "zkvm")
|| cfg!(miri);
let is_instant_unsupported =
(cfg!(target_family = "wasm") && !cfg!(target_os = "wasi")) || cfg!(target_os = "zkvm");

let start_time = (!is_instant_unsupported).then(Instant::now);
run_tests(opts, tests, |x| on_test_event(&x, &mut st, &mut *out))?;
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/render_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ struct SuiteOutcome {
measured: usize,
filtered_out: usize,
/// The time it took to execute this test suite, or `None` if time measurement was not possible
/// (e.g. due to running inside Miri).
/// (e.g. due to running on wasm).
exec_time: Option<f64>,
}

Expand Down