That must be a giant rock that you must carve an internal loop out of.
And then, how much energy would it even take to spin such a huge rock? I think you’d need a new exotic propulsion system just to rotate it. Maybe nuclear or a sustained ion propulsion.