Use the correct Bazel copts in crc targets

PiperOrigin-RevId: 488373221
Change-Id: I1e30820188cc860ce4df8fddafa04de343ec46af
master
Derek Mauro 2 years ago committed by Copybara-Service
parent 4b65075a73
commit edbf66288b
  1. 4
      absl/crc/BUILD.bazel
  2. 2
      absl/crc/internal/non_temporal_memcpy_test.cc

@ -134,6 +134,8 @@ cc_test(
name = "crc_memcpy_test",
size = "large",
srcs = ["internal/crc_memcpy_test.cc"],
copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
shard_count = 3,
visibility = ["//visibility:private"],
deps = [
@ -149,6 +151,8 @@ cc_test(
cc_test(
name = "non_temporal_memcpy_test",
srcs = ["internal/non_temporal_memcpy_test.cc"],
copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"],
deps = [
":non_temporal_memcpy",

@ -40,7 +40,7 @@ class NonTemporalMemcpyTest : public testing::TestWithParam<TestParam> {
a_.resize(buf_size);
b_.resize(buf_size);
for (size_t i = 0; i < buf_size; i++) {
a_[i] = i % 256;
a_[i] = static_cast<uint8_t>(i % 256);
b_[i] = ~a_[i];
}
}

Loading…
Cancel
Save