Skip to content

Commit

Permalink
Add #![feature(rustc_private)] to driver's main.rs
Browse files Browse the repository at this point in the history
Recently, this seems to have become necessary to build drivers on macOS.
  • Loading branch information
smoelius committed Aug 19, 2024
1 parent ba0b0ea commit b691069
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dylint/src/driver_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ components = ["llvm-tools-preview", "rustc-dev"]
}

const MAIN_RS: &str = r"
#![feature(rustc_private)]
use anyhow::Result;
use std::env;
use std::ffi::OsString;
Expand Down

0 comments on commit b691069

Please sign in to comment.