Skip to content

Commit f944996

Browse files
Googlercopybara-github
authored andcommitted
Add a new callables feature to Crubit.
The rollout of callables is causing stable Crubit users to get crashes. This change adds a flag to that I can enable/disable callables support without needing to emergency push fixes. It doesn't do anything yet, just updates the goldens to keep the bloat away from the CL that actually does guard the feature in code. PiperOrigin-RevId: 868930691
1 parent ea81f97 commit f944996

35 files changed

+45
-36
lines changed

cc_bindings_from_rs/test/consts/consts_cc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// consts_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor,
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor,
88
// std_unique_ptr, std_vector, supported, wrapper
99

1010
// clang-format off

cc_bindings_from_rs/test/consts/consts_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// consts_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/enums/enums_cc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// enums_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor,
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor,
88
// std_unique_ptr, std_vector, supported, wrapper
99

1010
// clang-format off

cc_bindings_from_rs/test/enums/enums_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// enums_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/function_pointers/function_pointers_cc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// function_pointers_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor,
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor,
88
// std_unique_ptr, std_vector, supported, wrapper
99

1010
// clang-format off

cc_bindings_from_rs/test/function_pointers/function_pointers_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// function_pointers_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/functions/functions_cc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// functions_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor,
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor,
88
// std_unique_ptr, std_vector, supported, wrapper
99

1010
// clang-format off

cc_bindings_from_rs/test/functions/functions_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// functions_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/golden/composable_bridging_cc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// composable_bridging_rust_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor,
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor,
88
// std_unique_ptr, std_vector, supported, wrapper
99

1010
// clang-format off

cc_bindings_from_rs/test/golden/composable_bridging_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// composable_bridging_rust_golden
7-
// Features: custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
7+
// Features: callables, custom_ffi_types, experimental, fmt, non_unpin_ctor, std_unique_ptr, std_vector, supported, wrapper
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

0 commit comments

Comments
 (0)