Skip to content

Commit

Permalink
BaseTools/Conf: Update file versions for Rust changes
Browse files Browse the repository at this point in the history
By updating the version, users will be prompted to delete their Conf
directory so the new files with Rust support can be copied over.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Oct 6, 2023
1 parent 6960fd6 commit d3470a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion BaseTools/Conf/build_rule.template
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@
# 2.24 - Add .arc and .ver file type to add .rsrc sections to EFI images.
# 2.25 - Split OemData rule into intermediate binary and final binary rules.
# 2.26 - Rename OemData to ProductData.
# 2.27 - Add Rust build support.

#!VERSION=2.26
#!VERSION=2.27

[C-Code-File]
<InputFile>
Expand Down
5 changes: 3 additions & 2 deletions BaseTools/Conf/tools_def.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
# 2.41 - Can't have comment inline as it breaks concatenation see - # MU_CHANGE - Move GccLto to tools dir for better alignment
# 2.42 - VS2022 toolchain incorrectly defined for ASL
# 2.43 - Enable stack cookies to VS2019 and VS20222 X64 builds via /GS flag
# 2.44 - Add Rust build support
#
#!VERSION=2.43
#!VERSION=2.44

IDENTIFIER = Default TOOL_CHAIN_CONF

Expand Down Expand Up @@ -3348,7 +3349,7 @@ DEBUG_*_*_RUST_TARGET = debug
RELEASE_*_*_RUST_TARGET = release
NOOPT_*_*_RUST_TARGET = debug

*_*_*_RUST_FLAGS =
*_*_*_RUST_FLAGS =

####################
# CARGO defintions #
Expand Down

0 comments on commit d3470a0

Please sign in to comment.