\documentclass{amsart}
\ifx\Ucharcat\undefined\else
\usepackage{unicode-math}
%\setmathfont{STIXMath_2.128e.otf}
\fi
\makeatletter
\def\genfracrule#1#2#3#4{%
\hbox{$\left#1\vcenter{\hrule \@width\z@
\@height \ifdim\fontdimen#2#3\tw@=\z@#4\fontdimen6#3\tw@\else\fontdimen#2#3\tw@\fi
}\right.$}}
\DeclareRobustCommand{\genfrac}[6]{{%
\@mathstyle{#4}%
\ifx @#1@\else
{\delimitershortfall\z@ \delimiterfactor\@m \mathsurround\z@ \nulldelimiterspace\z@
\mathchoice