If your RSUs vested within 30 days of your stock sale, it’s crucial to determine whether they are considered “substantially similar” to the stock you sold. If they are, the wash sale rule applies.
for the stock sale entry in the 8949 enter the wash sale amount and w for the code in the 8949
assuming the RSUs are substantially identical then the wash sale only applies to the number of shares represented by the RSU.
for example if the RSUs represent 100 shares but the stock sale was for 200 shares the wash sale would only apply to 100 shares sold at a loss.