Compiling Ruby on Windows VS 2022

I’m trying to compile Ruby on a Windows Machine using Visual Studio 2022. All the topics here seems to for compiling Ruby was for ver 1.x of Ruby and for VS 2005 or older. Do we have a more recent guide to compile Ruby, especially the newer ver 3 of Ruby?