Earlier quoted context omitted.
Rust should include in their license: "The Software/Language shall be used for Good, not Evil" https://en.wikipedia.org/wiki/Douglas_Crockford#%22Good,_not...
Who decides what’s good and what’s evil? Real life isn’t kindergarten, world isn’t black and white. Even for things that most of people can agree are good, you’ll have negative externalities.
You could make it very explicit: X shall not be used for advertising purposes. In legalese, of course, so a judge knows what is meant.