Skip to content

Commit deb6664

Browse files
committed
mnemonic
1 parent fcc8d35 commit deb6664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/cc_toolchain_runtime_lib/cc_toolchain_runtime_lib_test.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Tests for handling of cc_toolchain's static_runtime_lib/dynamic_runtime_lib.
33
"""
44

55
load("@bazel_skylib//lib:unittest.bzl", "analysistest", "asserts")
6-
load("@rules_cc//cc:cc_toolchain_config_lib.bzl", "feature")
6+
load("@rules_cc//cc:cc_toolchain_config_lib.bzl", "feature")
77
load("@rules_cc//cc:defs.bzl", "cc_toolchain")
88
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
99
load("//rust:defs.bzl", "rust_shared_library", "rust_static_library")
@@ -61,6 +61,7 @@ def _inputs_analysis_test_impl(ctx):
6161
env = analysistest.begin(ctx)
6262
tut = analysistest.target_under_test(env)
6363
action = tut[DepActionsInfo].actions[0]
64+
asserts.equals(env, action.mnemonic, "Rustc")
6465
inputs = action.inputs.to_list()
6566
for expected in ctx.attr.expected_inputs:
6667
asserts.true(

0 commit comments

Comments
 (0)