From a921ba4fabd4a0ebe21709d8ef14755e0e0a23ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Wed, 26 Feb 2025 16:46:18 +0300 Subject: [PATCH] Fix build script --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 3710886d..b93deed4 100644 --- a/build.rs +++ b/build.rs @@ -24,7 +24,7 @@ fn rustc_minor_version() -> Option { return None; } - let stdout = str::from_utf8(&out.stdout).ok()?; + let stdout = std::str::from_utf8(&out.stdout).ok()?; // Assumes that the first line contains "rustc 1.xx.0-channel (abcdef 2025-01-01)" // where "xx" is the minor version which we want to extract