You don’t use JUST salt.
I pickled cabbage with just salt and I think a lot of Japanese pickling tells you to coat the vegetable(s) in salt, wrap in plastic and then stick in the fridge for a few hours.
I find pickling fascinating since everyone has recipes and assumptions handed down for probably generations. I ended up still just guessing as to who is right or not. Maybe you're not supposed to use just salt? I don't know, it's hard to find much info on it online.