From 31474bfe1c2329221564704abb4dbb16c5827298 Mon Sep 17 00:00:00 2001 From: lucylq Date: Mon, 28 Apr 2025 15:27:26 -0700 Subject: [PATCH] Remove span.h Remove span.h. Seems like it is not needed. Also part of C++20, not 17, which caused some errors when I was building et tests locally. ``` error: 10:10: fatal error: span: No such file or directory 10 | #include | ^~~~~~ compilation terminated. gmake\[2\]: \*\*\* \[runtime79: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/span\_test.cpp.o\] Error 1 gmake\[1\]: \*\*\* \[CMakeFiles5899: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/all\] Error 2 gmake\[1\]: \*\*\* Waiting for unfinished jobs.... ``` Differential Revision: [D73810585](https://our.internmc.facebook.com/intern/diff/D73810585/) ghstack-source-id: 280789075 Pull Request resolved: https://github.com/pytorch/executorch/pull/10533 --- runtime/core/test/span_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/core/test/span_test.cpp b/runtime/core/test/span_test.cpp index 86feb8a969c..c2d65baf8e7 100644 --- a/runtime/core/test/span_test.cpp +++ b/runtime/core/test/span_test.cpp @@ -7,7 +7,6 @@ */ #include -#include #include