1. To reach the required standard for something.
The man does not cut the mustard and he will not be able to work here.
2. To release intestinal gas. Another version of this idiom is Cut the cheese. (Use caution with the topic.)
Who cut the cheese? People who cut the mustard in the car have to get out and walk.