Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Nightly-2023-08-13 (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanventer authored Nov 12, 2023
1 parent b602f32 commit dec7ca9
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 54 deletions.
Binary file modified binaries/summary_store.tar
Binary file not shown.
1 change: 1 addition & 0 deletions checker/src/known_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ impl KnownNamesCache {
"bswap" => KnownNames::StdIntrinsicsBswap,
"ceilf32" => KnownNames::StdIntrinsicsCeilf32,
"ceilf64" => KnownNames::StdIntrinsicsCeilf64,
"compare_bytes" => KnownNames::StdSliceCmpMemcmp,
"copysignf32" => KnownNames::StdIntrinsicsCopysignf32,
"copysignf64" => KnownNames::StdIntrinsicsCopysignf64,
"cosf32" => KnownNames::StdIntrinsicsCosf32,
Expand Down
2 changes: 1 addition & 1 deletion checker/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ pub fn summary_key_str(tcx: TyCtxt<'_>, def_id: DefId) -> Rc<str> {
| DefKind::Union
| DefKind::Enum
| DefKind::Variant
| DefKind::TyAlias
| DefKind::TyAlias { .. }
| DefKind::Impl { .. },
) {
name.push('_');
Expand Down
8 changes: 4 additions & 4 deletions checker/tests/call_graph/fnptr_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ commit;
/* EXPECTED:CALL_SITES{
"files": [
"tests/call_graph/fnptr_fold.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/std/src/io/stdio.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/fmt/mod.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/slice/mod.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/ptr/metadata.rs"
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/std/src/io/stdio.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/fmt/mod.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/slice/mod.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/ptr/metadata.rs"
],
"callables": [
{
Expand Down
8 changes: 4 additions & 4 deletions checker/tests/call_graph/static_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ commit;
/* EXPECTED:CALL_SITES{
"files": [
"tests/call_graph/static_fold.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/std/src/io/stdio.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/fmt/mod.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/slice/mod.rs",
"/rustc/474709a9a2a74a8bcf0055fadb335d0ca0d2d939/library/core/src/ptr/metadata.rs"
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/std/src/io/stdio.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/fmt/mod.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/slice/mod.rs",
"/rustc/28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1/library/core/src/ptr/metadata.rs"
],
"callables": [
{
Expand Down
2 changes: 0 additions & 2 deletions checker/tests/run-pass/union.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

// A test that checks that a value is tracked through a union.

#![feature(allow_internal_unstable)]

use mirai_annotations::*;

pub const fn as_bytes(_self: &str) -> &[u8] {
Expand Down
40 changes: 0 additions & 40 deletions checker/tests/run-pass/weak_lookup.rs

This file was deleted.

2 changes: 1 addition & 1 deletion examples/tag_analysis/verification_status/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub mod unverified_objects {
}

pub mod verified_objects {
pub fn tes_verified_msg() {
pub fn test_verified_msg() {
let sender = crate::NetworkSender::new("Alice".to_owned());
let msg = crate::VoteMsg::new(122, true);
if let Some(()) = msg.verify() {
Expand Down
2 changes: 1 addition & 1 deletion rebuild_std.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Exit immediately if a command exits with a non-zero status.
set -e

cargo build
cargo build --no-default-features

# build the mirai-standard-contracts crate
touch standard_contracts/src/lib.rs
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-08-04"
channel = "nightly-2023-08-13"
components = [ "clippy", "rustfmt", "rustc-dev", "rust-src", "rust-std", "llvm-tools-preview" ]

0 comments on commit dec7ca9

Please sign in to comment.