In reply to NorthernGoat: my experience with Stans Rims for MTB 6 yrs ago (rims sold as tubeless) was that the tape on the rim as sold wasn’t wide enough to provide a seal, and I had to replace the as-sold tape with wider after market tape. Then tubeless worked fine.
The Trek rims I had were fine without modification. If you are new into MTB tubeless there’s an art to learn and possibly quite a lot of faff until you’ve proficient…