Skip to content

Commit

Permalink
Merge pull request #142 from oli-obk/smir
Browse files Browse the repository at this point in the history
Fix smir crate and pin nightly
  • Loading branch information
nikomatsakis authored Oct 12, 2023
2 parents bca36ec + 1be5634 commit e8f44d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions crates/formality-smir/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#![feature(rustc_private)]

/// This import is needed, because `stable_mir` on its own doesn't have the `scoped_tls` rlib.
extern crate rustc_driver;
/// Access to the pre-0.1 stable_mir crate
extern crate stable_mir;

/// Trait used to convert from Stable MIR to Formality types.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly"
channel = "nightly-2023-10-08"
components = [ "rustc-dev", "llvm-tools" ]
5 changes: 0 additions & 5 deletions shell.nix

This file was deleted.

0 comments on commit e8f44d8

Please sign in to comment.