I have to agree with Mooseman, your mileage my vary... I have had good luck with WD-40 over the years, long before there was bore butter and all the other fancy marketed stuff with my black powder guns. I have never had black powder gun get any rust in it or on it, I can't say the same about some of my other guns I have used "gun oils" on. I left a cap and ball revolver in a damp basement for years not knowing it was down there. It hadn't been of the box since at least 1992, when I shot it last, cleaned it with hot water and WD-40. It went through several moves then got stuck in the basement somewhere around 2002. I found it when I was cleaning out the unfinished basement when I was discharged from the Army in late 2007. I was sure the gun would be ruined. When I opened the box it was just as clean and nice as the day I cleaned it and put it away.
On the flip side of the coin, I wiped off my custom 6mm-06 with the gun oil that come with one of my otis cleaning kits, and stood it in the corner of my bedroom closet. Less than 6 months later I pulled it out to do some long range target shooting and it had a bit of surface rust on it. Needless to say, I was not happy. From that point on it was still WD40 on my black powder guns and G96 on my other guns, and G96 smells a lot like WD40.
Best wishes,
Joe