mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-05 07:10:26 +00:00
Rust: Update experimental UUID
This commit is contained in:
@@ -127,7 +127,7 @@ Rust Support
|
|||||||
In order to activate support for Rust, set
|
In order to activate support for Rust, set
|
||||||
|
|
||||||
* variable ``CMAKE_EXPERIMENTAL_RUST`` to
|
* variable ``CMAKE_EXPERIMENTAL_RUST`` to
|
||||||
* value ``efaed83b-d73a-48af-999a-bd0a6172c313``.
|
* value ``b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1``.
|
||||||
|
|
||||||
This UUID may change in future versions of CMake. Be sure to use the value
|
This UUID may change in future versions of CMake. Be sure to use the value
|
||||||
documented here by the source tree of the version of CMake with which you are
|
documented here by the source tree of the version of CMake with which you are
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ cmExperimental::FeatureData const LookupTable[] = {
|
|||||||
cmExperimental::TryCompileCondition::Never },
|
cmExperimental::TryCompileCondition::Never },
|
||||||
// Rust support
|
// Rust support
|
||||||
{ "Rust",
|
{ "Rust",
|
||||||
"efaed83b-d73a-48af-999a-bd0a6172c313",
|
"b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1",
|
||||||
"CMAKE_EXPERIMENTAL_RUST",
|
"CMAKE_EXPERIMENTAL_RUST",
|
||||||
"CMake's support for the Rust programming language is experimental. "
|
"CMake's support for the Rust programming language is experimental. "
|
||||||
"It is meant only for experimentation and feedback to CMake developers.",
|
"It is meant only for experimentation and feedback to CMake developers.",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
set(CMAKE_EXPERIMENTAL_RUST "efaed83b-d73a-48af-999a-bd0a6172c313")
|
set(CMAKE_EXPERIMENTAL_RUST "b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1")
|
||||||
enable_language(Rust)
|
enable_language(Rust)
|
||||||
|
|
||||||
# No Edition set, rustc defaults to 2015.
|
# No Edition set, rustc defaults to 2015.
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
set(CMAKE_EXPERIMENTAL_RUST "efaed83b-d73a-48af-999a-bd0a6172c313")
|
set(CMAKE_EXPERIMENTAL_RUST "b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1")
|
||||||
enable_language(Rust)
|
enable_language(Rust)
|
||||||
message(STATUS "CMAKE_Rust_COMPILER='${CMAKE_Rust_COMPILER}'")
|
message(STATUS "CMAKE_Rust_COMPILER='${CMAKE_Rust_COMPILER}'")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 4.2)
|
cmake_minimum_required(VERSION 4.2)
|
||||||
|
|
||||||
set(CMAKE_EXPERIMENTAL_RUST "efaed83b-d73a-48af-999a-bd0a6172c313")
|
set(CMAKE_EXPERIMENTAL_RUST "b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1")
|
||||||
|
|
||||||
project(RustMix LANGUAGES C CXX Rust)
|
project(RustMix LANGUAGES C CXX Rust)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 4.2)
|
cmake_minimum_required(VERSION 4.2)
|
||||||
|
|
||||||
set(CMAKE_EXPERIMENTAL_RUST "efaed83b-d73a-48af-999a-bd0a6172c313")
|
set(CMAKE_EXPERIMENTAL_RUST "b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1")
|
||||||
|
|
||||||
project(RustOnly LANGUAGES Rust)
|
project(RustOnly LANGUAGES Rust)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 4.2)
|
cmake_minimum_required(VERSION 4.2)
|
||||||
|
|
||||||
set(CMAKE_EXPERIMENTAL_RUST "efaed83b-d73a-48af-999a-bd0a6172c313")
|
set(CMAKE_EXPERIMENTAL_RUST "b6fdddce-bf66-41a5-bc5f-077f6fa4d2a1")
|
||||||
|
|
||||||
function(setup PREFIX)
|
function(setup PREFIX)
|
||||||
add_library(${PREFIX}_static STATIC ../static.rs)
|
add_library(${PREFIX}_static STATIC ../static.rs)
|
||||||
|
|||||||
Reference in New Issue
Block a user