Change default visual studio and also link with ddk

I have built a static library with windows 7 ddk and visualstudio 2013 which I want to link with rust code.
While trying to build rust exe, the compiler tries to use the libraries shipped with visualstudio 2019. Can you please help how to link properly and create the exe.