The yard isn't attached to the mast as such, the halyard runs from the fwd end of the yard to a ring on the yard aft of the mast then then to the mast head and down in the usual manner, the halyard passes the mast on one side and the yard on the other and sorta makes a mast sandwich? Its actually very simple and supprizingly effective.

Hope that makes sense