This commit is contained in:
nora 2024-02-24 11:04:33 +01:00
parent a2629a1a6e
commit 0f331e73a0
2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,7 @@
nativeBuildInputs = with pkgs; [ rustc ]; nativeBuildInputs = with pkgs; [ rustc ];
buildPhase = '' buildPhase = ''
PYTHON=${pkgs.python3} rustc -Copt-level=3 -Cembed-bitcode=false $src --out-dir $out/bin PYTHON=${pkgs.python3} rustc -Copt-level=3 --crate-name x $src --out-dir $out/bin
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {

View file

@ -17,7 +17,6 @@ use std::{
}; };
fn main() { fn main() {
println!("{}", env!("PYTHON"));
match env::args().skip(1).next().as_deref() { match env::args().skip(1).next().as_deref() {
Some("--wrapper-version") => { Some("--wrapper-version") => {
println!("0.1.0"); println!("0.1.0");