Skip to content

Commit

Permalink
fix eigen crashing AST on linux (fedora).
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <devs@wabi.foundation>
  • Loading branch information
furby-tm committed Feb 19, 2025
1 parent 14bf2eb commit 6e909df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/Eigen/Eigen.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#include <Eigen/Eigen.h>
#if !defined(__linux__)
// for some reason, including the top level Eigen include
// on Linux might crash the swift AST parser, so we don't
// include it here.
# include <Eigen/Eigen.h>
#endif

0 comments on commit 6e909df

Please sign in to comment.