Skip to content

Commit a60d929

Browse files
authored
Fix PyBind 2.10.4 compatibility issue in executorch/extension/pybindings/pybindings.cpp +1
Differential Revision: D66395519 Pull Request resolved: #7056
1 parent 1139a1c commit a60d929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/pybindings/pybindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ struct PyModule final {
795795
py::isinstance<py::str>(debug_buffer_path)) {
796796
// Also write out the debug buffer to a separate file if requested.
797797
std::string debug_buffer_path_str =
798-
py::cast<py::str>(debug_buffer_path);
798+
py::cast<std::string>(debug_buffer_path);
799799
const auto debug_buffer = module_->get_etdump_debug_buffer();
800800
write_data_to_file(
801801
debug_buffer_path_str, debug_buffer.data(), debug_buffer.size());

0 commit comments

Comments
 (0)