It's a good idea...
to go with a disc specific rim if you are using disc brakes. While most rim brake wheels will do fine when used with disc brakes, they aren't specifically designed for them. Disc brake rims are specifically designed (in most cases) for the different stresses that disc brakes produce. Take a close look at rim and disc brake rims and you'll notice the difference in profile and cross section dimensions. And some rim manufacturers consider their warranty void if rim brake models are used with disc brakes. It's not that they will fail if used with disc brakes, it's the chance that they could. Not likely but possible.
With that said, I've used many rim brake wheels with disc brakes and had no problems. And they are a viable option if you intend to use them for a while with rim brakes before you get you discs. Just don't get a disc specific rim and try to use them with rim brakes. As the others have noted, disc specific rims don't have a braking surface.
Good Dirt