Cook the filling on the stovetop. Whisk the sugar and cornstarch together in a large saucepan. Add the cherries, vanilla, and salt and toss to coat in the sugar-cornstarch mixture. Cook over medium-high heat until the cherries begin to break down and the mixture begins to simmer and thicken slightly, 8 to 10 minutes.