Skip to content

Commit

Permalink
BaseTools/Conf: Update file versions for Rust changes (#587)
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.

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

- Local and CI build

N/A - Expect that users with existing Conf directories will be notified
during
build to delete the directory so the new file content can be copied
over.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
  • Loading branch information
makubacki authored and kenlautner committed Oct 18, 2023
1 parent 08490d4 commit 52ec142
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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
3 changes: 2 additions & 1 deletion BaseTools/Conf/tools_def.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# 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
# 3.00 - Update toolchains
# - Add support for ARM and AARCH64 to CLANGDWARF
# - Remove VS2008, VS2010, VS2012, VS2013, CLANG35, CLANG38, EBC
Expand Down Expand Up @@ -2470,7 +2471,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 52ec142

Please sign in to comment.