Skip to content

Commit 3966e06

Browse files
committed
wip
1 parent e710f2a commit 3966e06

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Debug",
11+
"program": "${workspaceFolder}/<executable file>",
12+
"args": [],
13+
"cwd": "${workspaceFolder}"
14+
}
15+
]
16+
}

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rust-analyzer.linkedProjects": [
3+
"./crates/formality-core/Cargo.toml"
4+
]
5+
}

rust-toolchain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2023-10-08"
3-
components = ["rustc-dev", "llvm-tools", "rustfmt"]
2+
channel = "nightly-2024-06-16"
3+
components = ["rustc-dev", "rustfmt", "cargo", "llvm-tools"]
44
profile = "minimal"

src/lib.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#![feature(rustc_private)]
2+
#![feature(control_flow_enum)]
3+
4+
#[macro_use]
5+
extern crate rustc_smir;
6+
extern crate rustc_driver;
7+
extern crate rustc_interface;
8+
extern crate rustc_middle;
9+
extern crate stable_mir;
10+
111
use std::{path::PathBuf, sync::Arc};
212

313
use clap::Parser;

0 commit comments

Comments
 (0)